aboutsummaryrefslogtreecommitdiff
path: root/security/landlock
diff options
context:
space:
mode:
authorGravatar Zhang Yi <yi.zhang@huawei.com> 2024-03-20 19:05:46 +0800
committerGravatar Christian Brauner <brauner@kernel.org> 2024-04-25 14:23:54 +0200
commit1a61d74932d460f47ffaf08927dbe9d43315841f (patch)
treee61d95634f42e89ebe46455ce16cd6104f8676e5 /security/landlock
parentiomap: don't increase i_size if it's not a write operation (diff)
downloadlinux-1a61d74932d460f47ffaf08927dbe9d43315841f.tar.gz
linux-1a61d74932d460f47ffaf08927dbe9d43315841f.tar.bz2
linux-1a61d74932d460f47ffaf08927dbe9d43315841f.zip
iomap: use a new variable to handle the written bytes in iomap_write_iter()
In iomap_write_iter(), the status variable used to receive the return value from iomap_write_end() is confusing, replace it with a new written variable to represent the written bytes in each cycle, no logic changes. Signed-off-by: Zhang Yi <yi.zhang@huawei.com> Link: https://lore.kernel.org/r/20240320110548.2200662-8-yi.zhang@huaweicloud.com Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'security/landlock')
0 files changed, 0 insertions, 0 deletions