f2fs: rename dio_rwsem to i_gc_rwsem
authorChao Yu <yuchao0@huawei.com>
Tue, 24 Apr 2018 02:55:28 +0000 (10:55 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 31 May 2018 18:31:49 +0000 (11:31 -0700)
commitb2532c694033fb6762478846c457382061f9f630
tree2efb28d6f943201ee1a387fd558aaad4e7079ad5
parentb82f6e347bfb68920d7e611553e1f3170ee4608c
f2fs: rename dio_rwsem to i_gc_rwsem

RW semphore dio_rwsem in struct f2fs_inode_info is introduced to avoid
race between dio and data gc, but now, it is more wildly used to avoid
foreground operation vs data gc. So rename it to i_gc_rwsem to improve
its readability.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/super.c