]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: change to use atomic_t type form sbi.atomic_files
authorChao Yu <chao@kernel.org>
Tue, 4 Oct 2022 01:41:02 +0000 (09:41 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 7 Oct 2022 19:57:26 +0000 (12:57 -0700)
commitd638fbee5ec5f062cb950e1aa59b982220287533
tree951da5ab16c58dfac8fde7e14cd58abef9e6a15b
parent16a410ab33521dfb0ab4e1ccc2d158d2062e8cfa
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.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/debug.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/segment.c