Commit 07cccbeb authored by Chao Yu's avatar Chao Yu Committed by Matthias Männich
Browse files

BACKPORT: f2fs: change to use atomic_t type form sbi.atomic_files



inode_lock[ATOMIC_FILE] was used for protecting sbi->atomic_files,
update atomic_files variable's type to atomic_t instead of unsigned
int, then inode_lock[ATOMIC_FILE] can be obsoleted.

Bug: 298879042
Bug: 308706939
Change-Id: I0f8c0284d9f0c05a7418474707f715dad1e404e3
Signed-off-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 9ed8c733)
[zhoudan8: Resolved minor conflict in fs/f2fs/debug.c and fs/f2fs/f2fs.h]
Signed-off-by: default avatarzhoudan8 <zhoudan8@xiaomi.com>
parent 95386a89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment