f2fs: replace rw semaphore extent_tree_lock with mutex lock
authorYunlei He <heyunlei@huawei.com>
Thu, 23 Feb 2017 11:39:59 +0000 (19:39 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 27 Feb 2017 17:59:53 +0000 (09:59 -0800)
commit5e8256ac2e378089a1bf3fae87370811b1d31625
tree43a8db726ba16de12521ab9a3913540fed8b28a8
parent3f2be04304cf10f2ef074399f8dd565bd00ddcae
f2fs: replace rw semaphore extent_tree_lock with mutex lock

This patch replace rw semaphore extent_tree_lock with mutex lock
for no read cases with this lock.

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/extent_cache.c
fs/f2fs/f2fs.h