f2fs: don't start checkpoint thread in readonly mountpoint
authorChao Yu <yuchao0@huawei.com>
Wed, 17 Mar 2021 09:56:03 +0000 (17:56 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 26 Mar 2021 01:20:51 +0000 (18:20 -0700)
commit3f7070b05052f997d571a51e750583b9dea726f8
tree44a3540cdc1b0fb9d9b70f01ce03e8132d0fe2a7
parentac2d750b2043cbe10d42ac974e07b9876cddfff8
f2fs: don't start checkpoint thread in readonly mountpoint

In readonly mountpoint, there should be no write IOs include checkpoint
IO, so that it's not needed to create kernel checkpoint thread.

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