mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-01 18:21:29 +00:00
f2fs: fix to check return value of f2fs_do_truncate_blocks()
[ Upstream commitb851ee6ba3] Otherwise, if truncation on cow_inode failed, remained data may pollute current transaction of atomic write. Cc: Daeho Jeong <daehojeong@google.com> Fixes:a46bebd502("f2fs: synchronize atomic write aborts") Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a8091dc814
commit
2eb5d0165b
1 changed files with 5 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue