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
..
2022-07-02 18:52:21 +09:00
2022-08-03 10:35:43 -07:00
2022-08-08 20:04:35 -07:00
2022-08-08 11:18:31 -07:00
2022-08-08 20:04:35 -07:00
2022-08-08 20:04:35 -07:00
2022-06-29 08:51:06 -04:00
2022-08-03 10:35:43 -07:00
2022-05-09 16:21:45 -04:00
2022-08-08 20:04:35 -07:00
2022-08-08 22:37:15 -04:00
2022-08-03 10:35:43 -07:00
2022-07-11 15:49:56 -04:00
2022-08-08 20:04:35 -07:00
2022-08-03 10:35:43 -07:00
2022-07-26 13:38:47 +02:00
2022-08-03 10:35:43 -07:00
2022-08-03 10:35:43 -07:00
2022-08-08 11:03:11 -07:00
2022-08-03 14:38:02 -07:00
2022-08-03 10:35:43 -07:00
2022-05-09 16:21:46 -04:00
2022-05-23 20:24:12 -05:00
2022-08-03 10:35:43 -07:00
2022-07-15 23:42:30 -07:00
2022-08-03 15:21:53 -07:00
2022-08-03 10:35:43 -07:00
2022-07-16 09:19:15 -04:00
2022-08-02 14:36:19 -07:00
2022-08-03 10:35:43 -07:00
2022-04-01 19:35:56 -07:00
2022-07-24 18:39:10 -06:00
2022-08-03 10:35:43 -07:00
2022-05-22 21:03:01 +01:00
2022-08-08 11:10:02 -07:00