OSDN Git Service

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 10:51:10 +0000 (03:51 -0700)
commit0c9c3e034410c4b1410fc3dad4d2657d71539ae4
tree700c99eaf37b822e4ecd083d8facefb5268c8b9a
parent6c6611223a79ead8030efbe3443f870c0f11540f
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