diff options
author | Steve French <sfrench@us.ibm.com> | 2007-02-08 13:11:42 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-02-08 13:11:42 -0500 |
commit | 595dcfecf642c8b0772989ed46f15ee03c25a205 (patch) | |
tree | 418fefce7a483ba0237fd1eb6546747bb1ca1878 /fs | |
parent | 1d9564ea0ac72ef7c4068d66fe42ad23af4ff53f (diff) |
[CIFS] POSIX CIFS Extensions (continued) - POSIX Open
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/CHANGES | 2 | ||||
-rw-r--r-- | fs/cifs/cifspdu.h | 15 |
2 files changed, 17 insertions, 0 deletions
diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES index 85e3850bf2c9..a1fb03f19637 100644 --- a/fs/cifs/CHANGES +++ b/fs/cifs/CHANGES | |||
@@ -1,6 +1,8 @@ | |||
1 | Version 1.47 | 1 | Version 1.47 |
2 | ------------ | 2 | ------------ |
3 | Fix oops in list_del during mount caused by unaligned string. | 3 | Fix oops in list_del during mount caused by unaligned string. |
4 | Fix file corruption which could occur on some large file | ||
5 | copies caused by writepages page i/o completion bug. | ||
4 | Seek to SEEK_END forces check for update of file size for non-cached | 6 | Seek to SEEK_END forces check for update of file size for non-cached |
5 | files. | 7 | files. |
6 | 8 | ||
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 */ |