summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorFan Li <fanofcode.li@samsung.com>2016-09-13 11:35:42 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2016-09-14 16:52:06 -0700
commitd95fd91c1ac1f551909ccdc4fcc80159521d0ef5 (patch)
tree5e13c3ab75763209a936a16e1bbf00caba2f7c43 /Kconfig
parent649d7df29ca83b2c9e81a4a305a8de8ab02b5e9d (diff)
downloadop-kernel-dev-d95fd91c1ac1f551909ccdc4fcc80159521d0ef5.zip
op-kernel-dev-d95fd91c1ac1f551909ccdc4fcc80159521d0ef5.tar.gz
f2fs: exclude special cases for f2fs_move_file_range
When src and dst is the same file, and the latter part of source region overlaps with the former part of destination region, current implement will overwrite data which hasn't been moved yet and truncate data in overlapped region. This patch return -EINVAL when such cases occur and return 0 when source region and destination region is actually the same part of the same file. Signed-off-by: Fan li <fanofcode.li@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud