f2fs: use inode mutex to keep atomicity of f2fs_falloc
authorChao Yu <chao2.yu@samsung.com>
Tue, 28 Jan 2014 02:29:26 +0000 (10:29 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 17 Feb 2014 05:58:53 +0000 (14:58 +0900)
Previously without protection of inode mutex, f2fs_falloc and other data
correlated operations will interfere with each other.
So let's use inode mutex to keep atomicity of f2fs_falloc.

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

diff --cc fs/f2fs/file.c
Simple merge