[PATCH RESEND v2 07/30] ntfs3: let procfs copy in writes to the label file

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Nov 5 11:57:42 PST 2026


> Implement ->proc_write_buf() so procfs copies in what is written before
> it pins the entry, and set the label from that copy. Writes larger than
> PAGE_SIZE - 1 bytes fail with -EINVAL from procfs now. A write that
> large only ever worked when most of it was trailing newlines or came
> after a NUL, ntfs_set_label() refused a label that long with
> -ENAMETOOLONG or -EFBIG.
> 
> 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=7




More information about the kexec mailing list