Commit a9fafdc4 authored by Daeho Jeong's avatar Daeho Jeong Committed by Daniel Rosenberg
Browse files

BACKPORT: f2fs: correct i_size change for atomic writes



We need to make sure i_size doesn't change until atomic write commit is
successful and restore it when commit is failed.

Bug: 298879042
Change-Id: I0b54b9bcdda262d2ca7e89ae6c6e0e6324df7771
Signed-off-by: default avatarDaeho Jeong <daehojeong@google.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit ec8ef4fe)
Signed-off-by: default avatarzhoudan8 <zhoudan8@xiaomi.com>
parent c964e0fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment