]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/cifs/cifspdu.h
Merge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog
[linux-2.6-omap-h63xx.git] / fs / cifs / cifspdu.h
index 085109d2b55e21f31dd368336b40f66d3778bf13..aede6a81316794a1a20de497c9684f96e20f6f0c 100644 (file)
@@ -330,7 +330,7 @@ struct smb_hdr {
 };
 /* given a pointer to an smb_hdr retrieve the value of byte count */
 #define BCC(smb_var) ( *(__u16 *)((char *)smb_var + sizeof(struct smb_hdr) + (2* smb_var->WordCount) ) )
-
+#define BCC_LE(smb_var) ( *(__le16 *)((char *)smb_var + sizeof(struct smb_hdr) + (2* smb_var->WordCount) ) )
 /* given a pointer to an smb_hdr retrieve the pointer to the byte area */
 #define pByteArea(smb_var) ((unsigned char *)smb_var + sizeof(struct smb_hdr) + (2* smb_var->WordCount) + 2 )
 
@@ -1258,10 +1258,8 @@ struct smb_t2_qfi_req {
         struct smb_hdr hdr;
         struct trans2_req t2;
        __u8    Pad;
-       __u16   Pad1;
        __u16   Fid;
        __le16  InformationLevel;
-       __u16   Pad2;
 };
 
 struct smb_t2_qfi_rsp {
@@ -1558,7 +1556,7 @@ typedef struct {
 #define CIFS_UNIX_POSIX_ACL_CAP         0x00000002 /* support getfacl/setfacl */
 #define CIFS_UNIX_XATTR_CAP             0x00000004 /* support new namespace   */
 #define CIFS_UNIX_EXTATTR_CAP           0x00000008 /* support chattr/chflag   */
-
+#define CIFS_POSIX_EXTENSIONS           0x00000010 /* support for new QFSInfo */
 typedef struct {
        /* For undefined recommended transfer size return -1 in that field */
        __le32 OptimalTransferSize;  /* bsize on some os, iosize on other os */