summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2015-09-29 21:49:28 -0500
committerSteve French <smfrench@gmail.com>2015-11-03 09:03:18 -0600
commitb2a3077414fd6ff1de8972ea55e91f27bcabd913 (patch)
treeb4e80bfbbff8fc2c0165d82c89fc6a8c8b9d7912 /fs/cifs/cifsglob.h
parentca9e7a1c85594f61d7ffb414071e6cae82eae23a (diff)
downloadtalos-op-linux-b2a3077414fd6ff1de8972ea55e91f27bcabd913.tar.gz
talos-op-linux-b2a3077414fd6ff1de8972ea55e91f27bcabd913.zip
[SMB3] Add parsing for new mount option controlling persistent handles
"nopersistenthandles" and "persistenthandles" mount options added. The former will not request persistent handles on open even when SMB3 negotiated and Continuous Availability share. The latter will request persistent handles (as long as server notes the capability in protocol negotiation) even if share is not Continuous Availability share. Signed-off-by: Steve French <steve.french@primarydata.com> Reviewed-by: Pavel Shilovsky <pshilovsky@samba.org>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index b406a32deb1f..1849e29099d0 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -493,7 +493,9 @@ struct smb_vol {
bool mfsymlinks:1; /* use Minshall+French Symlinks */
bool multiuser:1;
bool rwpidforward:1; /* pid forward for read/write operations */
- bool nosharesock;
+ bool nosharesock:1;
+ bool persistent:1;
+ bool nopersistent:1;
unsigned int rsize;
unsigned int wsize;
bool sockopt_tcp_nodelay:1;
OpenPOWER on IntegriCloud