diff options
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r-- | fs/cifs/cifspdu.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h index 2920ea0527f5..529a000bee46 100644 --- a/fs/cifs/cifspdu.h +++ b/fs/cifs/cifspdu.h | |||
@@ -796,6 +796,8 @@ typedef struct smb_com_openx_rsp { | |||
796 | __u16 ByteCount; | 796 | __u16 ByteCount; |
797 | } __attribute__((packed)) OPENX_RSP; | 797 | } __attribute__((packed)) OPENX_RSP; |
798 | 798 | ||
799 | /* For encoding of POSIX Open Request - see trans2 function 0x209 data struct */ | ||
800 | |||
799 | /* Legacy write request for older servers */ | 801 | /* Legacy write request for older servers */ |
800 | typedef struct smb_com_writex_req { | 802 | typedef struct smb_com_writex_req { |
801 | struct smb_hdr hdr; /* wct = 12 */ | 803 | struct smb_hdr hdr; /* wct = 12 */ |
@@ -2096,6 +2098,19 @@ struct cifs_posix_acl { /* access conrol list (ACL) */ | |||
2096 | 2098 | ||
2097 | /* end of POSIX ACL definitions */ | 2099 | /* end of POSIX ACL definitions */ |
2098 | 2100 | ||
2101 | typedef struct { | ||
2102 | __u32 OpenFlags; /* same as NT CreateX */ | ||
2103 | __u32 PosixOpenFlags; | ||
2104 | __u32 Mode; | ||
2105 | __u16 Level; /* reply level requested (see QPathInfo levels) */ | ||
2106 | __u16 Pad; /* reserved - MBZ */ | ||
2107 | } __attribute__((packed)) OPEN_PSX_REQ; /* level 0x209 SetPathInfo data */ | ||
2108 | |||
2109 | typedef struct { | ||
2110 | /* reply varies based on requested level */ | ||
2111 | } __atribute__((packed)) OPEN_PSX_RSP; /* level 0x209 SetPathInfo data */ | ||
2112 | |||
2113 | |||
2099 | struct file_internal_info { | 2114 | struct file_internal_info { |
2100 | __u64 UniqueId; /* inode number */ | 2115 | __u64 UniqueId; /* inode number */ |
2101 | } __attribute__((packed)); /* level 0x3ee */ | 2116 | } __attribute__((packed)); /* level 0x3ee */ |