]> git.baikalelectronics.ru Git - kernel.git/commit
ksmbd: contain default data stream even if xattr is empty
authorNamjae Jeon <linkinjeon@kernel.org>
Sun, 21 Nov 2021 02:32:39 +0000 (11:32 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Dec 2021 08:04:43 +0000 (09:04 +0100)
commit622b0940fc39716d8da19411d3ad5f057e27008d
tree955d3dc8af222fbd34107278d64902ce16fa5475
parent75ad8bd99b3e093b725d45258b09f4377053e571
ksmbd: contain default data stream even if xattr is empty

commit 81d19fd8f264cfc0063ee4f0664f4027f0e48f7e upstream.

If xattr is not supported like exfat or fat, ksmbd server doesn't
contain default data stream in FILE_STREAM_INFORMATION response. It will
cause ppt or doc file update issue if local filesystem is such as ones.
This patch move goto statement to contain it.

Fixes: 2d85a98c393d ("ksmbd: add default data stream name in FILE_STREAM_INFORMATION")
Cc: stable@vger.kernel.org # v5.15
Acked-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ksmbd/smb2pdu.c