Namjae Jeon 18e39fb960 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: stable@vger.kernel.org
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2022-06-23 23:30:46 -05:00
..
2022-02-04 00:12:22 -06:00
2021-11-11 19:22:58 -06:00
2022-05-21 15:01:43 -05:00
2022-04-14 20:56:13 -05:00
2021-07-02 16:27:10 +09:00
2022-04-14 20:56:13 -05:00
2022-04-14 20:56:13 -05:00
2021-12-03 18:58:11 +01:00