diff options
author | Suresh Jayaraman <sjayaraman@suse.de> | 2010-07-05 08:42:15 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-08-02 08:40:34 -0400 |
commit | 488f1d2d6cc9d665c9f09e4b54f77052732e3058 (patch) | |
tree | 2e240da84cdb009b89508e0fa748bebe71e35766 /fs/cifs/cifsglob.h | |
parent | f579cf3cfd1e19ae5aab6929679d0c04bf1a6284 (diff) |
cifs: define server-level cache index objects and register them
Define server-level cache index objects (as managed by TCP_ServerInfo structs)
and register then with FS-Cache. Each server object is created in the CIFS
top-level index object and is itself an index into which superblock-level
objects are inserted.
The server objects are now keyed by {IPaddress,family,port} tuple.
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 6113427651c4..06b48998db94 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -192,6 +192,9 @@ struct TCP_Server_Info { | |||
192 | bool sec_mskerberos; /* supports legacy MS Kerberos */ | 192 | bool sec_mskerberos; /* supports legacy MS Kerberos */ |
193 | bool sec_kerberosu2u; /* supports U2U Kerberos */ | 193 | bool sec_kerberosu2u; /* supports U2U Kerberos */ |
194 | bool sec_ntlmssp; /* supports NTLMSSP */ | 194 | bool sec_ntlmssp; /* supports NTLMSSP */ |
195 | #ifdef CONFIG_CIFS_FSCACHE | ||
196 | struct fscache_cookie *fscache; /* client index cache cookie */ | ||
197 | #endif | ||
195 | }; | 198 | }; |
196 | 199 | ||
197 | /* | 200 | /* |