Namjae Jeon 17661ecf6a ksmbd: don't remove dos attribute xattr on O_TRUNC open
When smb client open file in ksmbd share with O_TRUNC, dos attribute
xattr is removed as well as data in file. This cause the FSCTL_SET_SPARSE
request from the client fails because ksmbd can't update the dos attribute
after setting ATTR_SPARSE_FILE. And this patch fix xfstests generic/469
test also.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2022-08-15 21:07:01 -05:00
..
2021-06-28 16:28:31 +09:00
2021-11-11 19:22:58 -06:00
2021-06-28 16:28:31 +09: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
2021-06-28 16:28:31 +09:00
2022-04-14 20:56:13 -05:00
2021-06-28 16:28:31 +09:00
2021-06-28 16:28:31 +09:00
2021-06-28 16:28:31 +09:00
2021-06-28 16:28:31 +09:00
2021-06-28 16:28:31 +09:00