diff options
| author | 2022-08-14 22:40:25 +0900 | |
|---|---|---|
| committer | 2022-08-15 21:07:01 -0500 | |
| commit | 17661ecf6a64eb11ae7f1108fe88686388b2acd5 (patch) | |
| tree | a3d48943640fb1339021b9f609d63208ad5f62f3 /tools/scripts/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com | |
| parent | ksmbd: remove unnecessary generic_fillattr in smb2_open (diff) | |
| download | linux-dev-17661ecf6a64eb11ae7f1108fe88686388b2acd5.tar.xz linux-dev-17661ecf6a64eb11ae7f1108fe88686388b2acd5.zip | |
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>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
