]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: don't need to get f2fs_lock_op for the inline_data test
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 27 Dec 2013 02:01:54 +0000 (11:01 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 27 Dec 2013 03:40:41 +0000 (12:40 +0900)
commite0ba10084232246a54f96961e0039ee508fc3363
treeb9037bff2c40d3941a9adf693a699ce61af388db
parent89270b0d6325e4e1fc524bec9c6b0c221fff8afc
f2fs: don't need to get f2fs_lock_op for the inline_data test

This patch locates checking the inline_data prior to calling f2fs_lock_op()
in truncate_blocks(), since getting the lock is unnecessary.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/file.c