Missing field not being returned in ioctl CIFS_IOC_GET_MNT_INFO
authorSteve French <stfrench@microsoft.com>
Fri, 10 Nov 2023 07:24:16 +0000 (01:24 -0600)
committerSteve French <stfrench@microsoft.com>
Fri, 10 Nov 2023 15:32:04 +0000 (09:32 -0600)
commit784e0e20b4c97c270b2892f677d3fad658e2c1d5
treeb053f62a7271920bafdc8dfe2be0784da459d48c
parentde4eceab578ead12a71e5b5588a57e142bbe8ceb
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>
fs/smb/client/ioctl.c