aboutsummaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorZhang Yi <yi.zhang@huawei.com>2024-03-20 19:05:44 +0800
committerChristian Brauner <brauner@kernel.org>2024-04-25 14:23:53 +0200
commit89c6c1d91ab2dc05c6f4ad504b03169aa32694cc (patch)
tree45df566563d52faa2a5657f859fa8f03258711fe /net/unix/unix_bpf.c
parent0fac04e4e0ea9ca51ac16d1a3d0e5dfe2919a6dd (diff)
iomap: drop the write failure handles when unsharing and zeroing
Unsharing and zeroing can only happen within EOF, so there is never a need to perform posteof pagecache truncation if write begin fails, also partial write could never theoretically happened from iomap_write_end(), so remove both of them. Signed-off-by: Zhang Yi <yi.zhang@huawei.com> Link: https://lore.kernel.org/r/20240320110548.2200662-6-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 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions