diff options
| author | Murphy Zhou <[email protected]> | 2020-03-14 03:38:31 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2020-03-17 18:27:06 +0000 |
| commit | 979a2665eb6c603ddce0ab374041ab101827b2e7 (patch) | |
| tree | d3eaad9aff2622fa1497492197830e1179a30d9f /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | CIFS: Increment num_remote_opens stats counter even in case of smb2_query_dir... (diff) | |
| download | kernel-979a2665eb6c603ddce0ab374041ab101827b2e7.tar.gz kernel-979a2665eb6c603ddce0ab374041ab101827b2e7.zip | |
CIFS: fiemap: do not return EINVAL if get nothing
If we call fiemap on a truncated file with none blocks allocated,
it makes sense we get nothing from this call. No output means
no blocks have been counted, but the call succeeded. It's a valid
response.
Simple example reproducer:
xfs_io -f 'truncate 2M' -c 'fiemap -v' /cifssch/testfile
xfs_io: ioctl(FS_IOC_FIEMAP) ["/cifssch/testfile"]: Invalid argument
Signed-off-by: Murphy Zhou <[email protected]>
Signed-off-by: Steve French <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>
CC: Stable <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
