Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
f2fs: fix to check return value of f2fs_do_truncate_blocks()
[ Upstream commit b851ee6 ] Otherwise, if truncation on cow_inode failed, remained data may pollute current transaction of atomic write. Cc: Daeho Jeong <daehojeong@google.com> Fixes: a46bebd ("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>
- Loading branch information