diff options
| author | 2026-09-14 15:53:37 +0800 | |
|---|---|---|
| committer | 2026-09-23 09:27:08 +0200 | |
| commit | 6ffe91a84f4434edea8373ce95e3f93cbc3ffa50 (patch) | |
| tree | cdb67628beb5446779bd458becfedf2adbb0d190 /scripts/Makefile.thinlto | |
| parent | squashfs: fix inode number description in documentation (diff) | |
fs: fix misleading comments in read_write.c
generic_write_checks() returns the number of bytes that may be written
(possibly truncated by generic_write_check_limits()), not zero. The
comment was likely copied from generic_copy_file_checks(), which is the
analogous function for copy_file_range() and does return 0 on success.
Also, no_seek_end_llseek() and no_seek_end_llseek_size() are helpers for
files that do not support SEEK_END (they only handle SEEK_SET and
SEEK_CUR), not for "fixed-sized devices"; that description was copied
from fixed_size_llseek().
Signed-off-by: Yingchao Deng <dengyingchao@kylinsec.com.cn>
Link: https://patch.msgid.link/918177B3298981ED+20260914075337.1739-1-dengyingchao@kylinsec.com.cn
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
