[PATCH RESEND v2 03/30] lockd: let procfs copy in writes to nlm_end_grace
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Nov 5 11:57:31 PST 2026
> 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.
>
> Acked-by: Chuck Lever <cel at kernel.org>
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261104-work-procfs-fs-v2-0-319e0f9a8aae@kernel.org?part=3
More information about the kexec
mailing list