forked from namjaejeon/ksmbd
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ksmbd: smb1: implement SMB_COM_QUERY_INFORMATION_DISK command
SMB_COM_QUERY_INFORMATION_DISK is marked as deprecated, but smbclient will use it if SMB Trans2/QUERY_FS_INFO fails. ksmbd will disconnect the client because the command is not implemented. The response to this command contains the same information as QUERY_FS_SIZE_INFO/QUERY_FS_FULL_SIZE_INFO infolevels. The difference is that the fields are u16, so they may not be large enough. Values are adjusted so that the client can determine free and used space in bytes (which is what it really cares about). Signed-off-by: Marios Makassikis <[email protected]> Signed-off-by: Namjae Jeon <[email protected]>
- Loading branch information
1 parent
c0fbd54
commit 57f08e6
Showing
4 changed files
with
151 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters