diff options
author | 2018-10-30 10:40:22 +1100 | |
---|---|---|
committer | 2018-10-30 10:40:22 +1100 | |
commit | 5b49f64db299d0b3f7c2170088186aa593d0be7d (patch) | |
tree | ed7559be897c3e12da7719f6d278e29528d3af90 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Linux 4.19 (diff) | |
download | linux-dev-5b49f64db299d0b3f7c2170088186aa593d0be7d.tar.xz linux-dev-5b49f64db299d0b3f7c2170088186aa593d0be7d.zip |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions