diff options
author | Steve French <smfrench@gmail.com> | 2013-06-19 15:15:30 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-06-24 02:56:46 -0400 |
commit | 769ee6a4024434d1960acafd7adde38538bbe3da (patch) | |
tree | 6155f68bdfce210b203c2a8a93e99c48815c7f76 /fs/cifs/smb2pdu.c | |
parent | 2b5dc286da3917435106da6431e8d06209b01953 (diff) |
Add ability to dipslay SMB3 share flags and capabilities for debugging
SMB3 protocol adds various optional per-share capabilities (and
SMB3.02 adds one more beyond that). Add ability to dump
(/proc/fs/cifs/DebugData) the share capabilities and share flags to
improve debugging.
Signed-off-by: Steve French <smfrench@gmail.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
-rw-r--r-- | fs/cifs/smb2pdu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index cb155bfb3411..f7422a68b163 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c | |||
@@ -741,6 +741,7 @@ SMB2_tcon(const unsigned int xid, struct cifs_ses *ses, const char *tree, | |||
741 | } | 741 | } |
742 | 742 | ||
743 | tcon->share_flags = le32_to_cpu(rsp->ShareFlags); | 743 | tcon->share_flags = le32_to_cpu(rsp->ShareFlags); |
744 | tcon->capabilities = rsp->Capabilities; /* we keep caps little endian */ | ||
744 | tcon->maximal_access = le32_to_cpu(rsp->MaximalAccess); | 745 | tcon->maximal_access = le32_to_cpu(rsp->MaximalAccess); |
745 | tcon->tidStatus = CifsGood; | 746 | tcon->tidStatus = CifsGood; |
746 | tcon->need_reconnect = false; | 747 | tcon->need_reconnect = false; |