smb3: fix stat when special device file and mounted with modefromsid
[linux-2.6-microblaze.git] / fs / cifs / cifsglob.h
index b565d83..a1a1a16 100644 (file)
@@ -510,6 +510,8 @@ struct smb_version_operations {
                      struct fiemap_extent_info *, u64, u64);
        /* version specific llseek implementation */
        loff_t (*llseek)(struct file *, struct cifs_tcon *, loff_t, int);
+       /* Check for STATUS_IO_TIMEOUT */
+       bool (*is_status_io_timeout)(char *buf);
 };
 
 struct smb_version_values {
@@ -1954,6 +1956,8 @@ extern bool lookupCacheEnabled;
 extern unsigned int global_secflags;   /* if on, session setup sent
                                with more secure ntlmssp2 challenge/resp */
 extern unsigned int sign_CIFS_PDUs;  /* enable smb packet signing */
+extern bool enable_gcm_256; /* allow optional negotiate of strongest signing (aes-gcm-256) */
+extern bool require_gcm_256; /* require use of strongest signing (aes-gcm-256) */
 extern bool linuxExtEnabled;/*enable Linux/Unix CIFS extensions*/
 extern unsigned int CIFSMaxBufSize;  /* max size not including hdr */
 extern unsigned int cifs_min_rcv;    /* min size of big ntwrk buf pool */