linux/fs/smb/common
Namjae Jeon 15dfbf769a ksmbd: return FILE_DEVICE_DISK instead of super magic
[ Upstream commit 25a6e13556 ]

MS-SMB2 specification describes setting ->DeviceType to FILE_DEVICE_DISK
or FILE_DEVICE_CD_ROM. Set FILE_DEVICE_DISK instead of super magic in
FS_DEVICE_INFORMATION. And Set FILE_READ_ONLY_DEVICE for read-only share.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-07-25 09:49:19 +02:00
..
arc4.h smb: move client and server files to common directory fs/smb 2023-06-28 11:12:40 +02:00
cifs_arc4.c smb: move client and server files to common directory fs/smb 2023-06-28 11:12:40 +02:00
cifs_md4.c smb: move client and server files to common directory fs/smb 2023-06-28 11:12:40 +02:00
Makefile smb: move client and server files to common directory fs/smb 2023-06-28 11:12:40 +02:00
md4.h smb: move client and server files to common directory fs/smb 2023-06-28 11:12:40 +02:00
smb2pdu.h ksmbd: return FILE_DEVICE_DISK instead of super magic 2024-07-25 09:49:19 +02:00
smbfsctl.h smb: move client and server files to common directory fs/smb 2023-06-28 11:12:40 +02:00