mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 05:12:49 +00:00
Missing field not being returned in ioctl CIFS_IOC_GET_MNT_INFO
The tcon_flags field was always being set to zero in the information about the mount returned by the ioctl CIFS_IOC_GET_MNT_INFO instead of being set to the value of the Flags field in the tree connection structure as intended. Reviewed-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
de4eceab57
commit
784e0e20b4
1 changed files with 1 additions and 0 deletions
|
@ -143,6 +143,7 @@ static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon,
|
|||
|
||||
fsinf->version = 1;
|
||||
fsinf->protocol_id = tcon->ses->server->vals->protocol_id;
|
||||
fsinf->tcon_flags = tcon->Flags;
|
||||
fsinf->device_characteristics =
|
||||
le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics);
|
||||
fsinf->device_type = le32_to_cpu(tcon->fsDevInfo.DeviceType);
|
||||
|
|
Loading…
Reference in a new issue