f2fs: move mnt_want_write_file after range check
authorYunlei He <heyunlei@huawei.com>
Tue, 24 Apr 2018 03:40:30 +0000 (11:40 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 31 May 2018 18:31:48 +0000 (11:31 -0700)
commitb82f6e347bfb68920d7e611553e1f3170ee4608c
tree534aa1e9e3fed1c80ce90f8175663a000d9215ec
parentcba41be08cb182476fec4d318a8a8f2f8361a901
f2fs: move mnt_want_write_file after range check

This patch move mnt_want_write_file after range check,
it's needless to check arguments with it.

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c