f2fs: avoid needless lock for node pages when fsyncing a file
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 13 Apr 2016 23:14:38 +0000 (16:14 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 26 Apr 2016 21:24:30 +0000 (14:24 -0700)
commiteca76e783cf5970db36edfda7e66487d897ea222
tree810c8bae2e9f392b20898131b21848532c143425
parentc27753d675fccd3b15a78621a2a66616507693d4
f2fs: avoid needless lock for node pages when fsyncing a file

When fsync is called, sync_node_pages finds a proper direct node pages to flush.
But, it locks unrelated direct node pages together unnecessarily.

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