diff options
author | Namjae Jeon <[email protected]> | 2022-06-19 22:35:48 +0900 |
---|---|---|
committer | Steve French <[email protected]> | 2022-06-23 23:30:46 -0500 |
commit | 18e39fb960e6a908ac5230b57e3d0d6c25232368 (patch) | |
tree | 54560a6220dad6bab4620f1abd96e0c3dc6253c8 /lib/mpi/mpi-mod.c | |
parent | 745bbc0995c25917dfafb645b8efb29813ef9e0b (diff) |
ksmbd: set the range of bytes to zero without extending file size in FSCTL_ZERO_DATA
generic/091, 263 test failed since commit f66f8b94e7f2 ("cifs: when
extending a file with falloc we should make files not-sparse").
FSCTL_ZERO_DATA sets the range of bytes to zero without extending file
size. The VFS_FALLOCATE_FL_KEEP_SIZE flag should be used even on
non-sparse files.
Cc: [email protected]
Reviewed-by: Hyunchul Lee <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions