f2fs: wrap sb_rdonly with f2fs_readonly
authorChao Yu <yuchao0@huawei.com>
Thu, 1 Mar 2018 15:40:31 +0000 (23:40 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 8 Apr 2018 11:13:20 +0000 (04:13 -0700)
commit808427a63b93aba036d2da80b1e8139f68e1cc62
tree63e4e4e9bd1e14f7fe81a005f98f7f450761371d
parent5ebe362c0c604afba0dd5c2cdf9c500e9f15f1de
f2fs: wrap sb_rdonly with f2fs_readonly

Use f2fs_readonly to wrap sb_rdonly for cleanup, and spread it in
all places.

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