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)
committerSteve French <stfrench@microsoft.com>
Thu, 25 Nov 2021 06:09:26 +0000 (00:09 -0600)
commit1ec72153ff434ce75bace3044dc89a23a05d7064
tree189ecba259278ed0a76e7c5c4c9678e52ffe692e
parent8e537d1465e7401f352a6e0a728a93f8cad5294a
ksmbd: contain default data stream even if xattr is empty

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: 9f6323311c70 ("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>
fs/ksmbd/smb2pdu.c