diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-10-30 10:40:22 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2018-10-30 10:40:22 +1100 |
commit | 5b49f64db299d0b3f7c2170088186aa593d0be7d (patch) | |
tree | ed7559be897c3e12da7719f6d278e29528d3af90 /fs/xfs | |
parent | 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d (diff) | |
download | linux-5b49f64db299d0b3f7c2170088186aa593d0be7d.tar.bz2 |
vfs: vfs_clone_file_prep_inodes should return EINVAL for a clone from beyond EOF
vfs_clone_file_prep_inodes cannot return 0 if it is asked to remap from
a zero byte file because that's what btrfs does.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions