]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: allow copying file range only in between regular files
authorChao Yu <yuchao0@huawei.com>
Thu, 4 Aug 2016 12:13:02 +0000 (20:13 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 19 Aug 2016 02:15:08 +0000 (11:15 +0900)
commit04aa1b16bd9adef61a6a2051c8a67443f63fc822
treebf6cc1e8b006c05c68c8378f296581978ed5322d
parentbeb41523adbe2e0324298c84aab449c972d1ecd1
f2fs: allow copying file range only in between regular files

Only if two input files are regular files, we allow copying data in
range of them, otherwise, deny it.

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