f2fs: remove unneeded f2fs_{,un}lock_op in do_recover_data()
authorChao Yu <chao2.yu@samsung.com>
Fri, 25 Sep 2015 09:54:56 +0000 (17:54 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 9 Oct 2015 23:20:54 +0000 (16:20 -0700)
commit7223554133c3f72809ea6ddbf0d8464e7c70c1b1
treefbdd0a51ee8bb37be5dcff367436ccb6bd9860fd
parent1d7e10d58a1f62c8c44668cca1cff6a2dd57d7d9
f2fs: remove unneeded f2fs_{,un}lock_op in do_recover_data()

Protecting recovery flow by using cp_rwsem is not needed, since we have
prevent triggering any checkpoint by locking cp_mutex previously.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/recovery.c