On Mon, Nov 2, 2026, at 10:07 AM, Christian Brauner wrote: > Implement ->proc_write_buf() so procfs copies in what is written before > it pins the entry. simple_transaction_get() was only used to get a copy > of what was written, so look at procfs' copy instead and drop the > transaction. A second write to the same file doesn't fail with -EBUSY > anymore. Writes larger than PAGE_SIZE - 1 bytes fail with -EINVAL from > procfs instead of -EFBIG from simple_transaction_get(), which refused a > few bytes less. > > Signed-off-by: Christian Brauner (Amutable) <[email protected]> Acked-by: Chuck Lever <[email protected]> -- Chuck Lever (Come to NFS bake-a-thon! https://nfsv4bat.org)
- [PATCH RFC 00/27] proc: convert the fs, kernel and mm en... Christian Brauner
- [PATCH RFC 06/27] nfsd: let procfs own the seq_file... Christian Brauner
- [PATCH RFC 17/27] sched/psi: let procfs copy in tri... Christian Brauner
- [PATCH RFC 08/27] smb: client: let procfs own the s... Christian Brauner
- [PATCH RFC 09/27] smb: client: let procfs copy in w... Christian Brauner
- [PATCH RFC 11/27] latencytop: let procfs copy in wr... Christian Brauner
- [PATCH RFC 20/27] module: procfs: let procfs own th... Christian Brauner
- [PATCH RFC 23/27] alloc_tag: let procfs own the seq... Christian Brauner
- [PATCH RFC 26/27] kernel/configs: let procfs copy o... Christian Brauner
- [PATCH RFC 03/27] lockd: let procfs copy in writes ... Christian Brauner
- Re: [PATCH RFC 03/27] lockd: let procfs copy in... Chuck Lever
- [PATCH RFC 10/27] genirq/proc: let procfs copy in t... Christian Brauner
- [PATCH RFC 21/27] dyndbg: let procfs copy in writes... Christian Brauner
- [PATCH RFC 12/27] locking/lockdep: let procfs own t... Christian Brauner
- [PATCH RFC 14/27] profiling: let procfs copy in wri... Christian Brauner
- [PATCH RFC 18/27] sched/psi: mark the pressure file... Christian Brauner
- [PATCH RFC 22/27] ipc: let procfs own the seq_file ... Christian Brauner
- Re: [PATCH RFC 05/27] nfsd: factor out setting up t... Chuck Lever
- [PATCH RFC 27/27] selftests/proc: check that unload... Christian Brauner
- [PATCH RFC 04/27] lockd: let procfs copy out reads ... Christian Brauner
