diff options
author | Jeff Layton <jlayton@redhat.com> | 2013-06-11 02:12:23 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-06-24 10:56:43 +0400 |
commit | 1e3cc57e474867771aba2bdf23d0c7d8fb5e4822 (patch) | |
tree | efc2e9ac96fada997cca4327f54bc5df2776139e /fs/cifs/cifsglob.h | |
parent | 28e11bd86d63ce18b481cd9f90bd5fa1b5ba746b (diff) | |
download | linux-1e3cc57e474867771aba2bdf23d0c7d8fb5e4822.tar.xz |
add new fields to smb_vol to track the requested security flavor
We have this to some degree already in secFlgs, but those get "or'ed" so
there's no way to know what the last option requested was. Add new fields
that will eventually supercede the secFlgs field in the cifs_ses.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 87d92e35e991..2f3a89a2c497 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -402,6 +402,8 @@ struct smb_vol { umode_t file_mode; umode_t dir_mode; unsigned secFlg; + enum securityEnum sectype; /* sectype requested via mnt opts */ + bool sign; /* was signing requested via mnt opts? */ bool retry:1; bool intr:1; bool setuids:1; |