PCI: tegra: Add debugfs support
[firefly-linux-kernel-4.4.55.git] / fs / cifs / cifsglob.h
index 30f6e9251a4aed13c5b38b34640124fb8b49e665..de6aed8c78e562e468f015a02a71a8a75e3ff36a 100644 (file)
@@ -559,6 +559,7 @@ struct TCP_Server_Info {
        int echo_credits;  /* echo reserved slots */
        int oplock_credits;  /* oplock break reserved slots */
        bool echoes:1; /* enable echoes */
+       __u8 client_guid[SMB2_CLIENT_GUID_SIZE]; /* Client GUID */
 #endif
        u16 dialect; /* dialect index that server chose */
        bool oplocks:1; /* enable oplocks */
@@ -1113,12 +1114,13 @@ struct cifsInodeInfo {
        __u32 cifsAttrs; /* e.g. DOS archive bit, sparse, compressed, system */
        unsigned int oplock;            /* oplock/lease level we have */
        unsigned int epoch;             /* used to track lease state changes */
-       bool delete_pending;            /* DELETE_ON_CLOSE is set */
-       bool invalid_mapping;           /* pagecache is invalid */
-       unsigned long flags;
 #define CIFS_INODE_PENDING_OPLOCK_BREAK   (0) /* oplock break in progress */
 #define CIFS_INODE_PENDING_WRITERS       (1) /* Writes in progress */
 #define CIFS_INODE_DOWNGRADE_OPLOCK_TO_L2 (2) /* Downgrade oplock to L2 */
+#define CIFS_INO_DELETE_PENDING                  (3) /* delete pending on server */
+#define CIFS_INO_INVALID_MAPPING         (4) /* pagecache is invalid */
+#define CIFS_INO_LOCK                    (5) /* lock bit for synchronization */
+       unsigned long flags;
        spinlock_t writers_lock;
        unsigned int writers;           /* Number of writers on this inode */
        unsigned long time;             /* jiffies of last update of inode */