]> 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)
commitfb4f25c13bc1b65fc9fcc2b7b1dc9c1e317a4001
treebf6cc1e8b006c05c68c8378f296581978ed5322d
parentd5320efd675e07a45e1ccff3cf2674651e79773e
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