cifs: define superblock-level cache index objects and register them
[linux-block.git] / fs / cifs / cifsglob.h
index 793c8e3a0e537c3acc9a13172d1f4b9a46aeba6f..a3e403e7e163444f9da7b7e3d78d2c5543a5212e 100644 (file)
@@ -299,6 +299,10 @@ struct cifsTconInfo {
        bool local_lease:1; /* check leases (only) on local system not remote */
        bool broken_posix_open; /* e.g. Samba server versions < 3.3.2, 3.2.9 */
        bool need_reconnect:1; /* connection reset, tid now invalid */
+#ifdef CONFIG_CIFS_FSCACHE
+       u64 resource_id;                /* server resource id */
+       struct fscache_cookie *fscache; /* cookie for share */
+#endif
        /* BB add field for back pointer to sb struct(s)? */
 };