mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 08:18:47 +00:00
[CIFS] POSIX CIFS Extensions (continued) - POSIX Open
Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
parent
1d9564ea0a
commit
595dcfecf6
@ -1,6 +1,8 @@
|
|||||||
Version 1.47
|
Version 1.47
|
||||||
------------
|
------------
|
||||||
Fix oops in list_del during mount caused by unaligned string.
|
Fix oops in list_del during mount caused by unaligned string.
|
||||||
|
Fix file corruption which could occur on some large file
|
||||||
|
copies caused by writepages page i/o completion bug.
|
||||||
Seek to SEEK_END forces check for update of file size for non-cached
|
Seek to SEEK_END forces check for update of file size for non-cached
|
||||||
files.
|
files.
|
||||||
|
|
||||||
|
@ -796,6 +796,8 @@ typedef struct smb_com_openx_rsp {
|
|||||||
__u16 ByteCount;
|
__u16 ByteCount;
|
||||||
} __attribute__((packed)) OPENX_RSP;
|
} __attribute__((packed)) OPENX_RSP;
|
||||||
|
|
||||||
|
/* For encoding of POSIX Open Request - see trans2 function 0x209 data struct */
|
||||||
|
|
||||||
/* Legacy write request for older servers */
|
/* Legacy write request for older servers */
|
||||||
typedef struct smb_com_writex_req {
|
typedef struct smb_com_writex_req {
|
||||||
struct smb_hdr hdr; /* wct = 12 */
|
struct smb_hdr hdr; /* wct = 12 */
|
||||||
@ -2096,6 +2098,19 @@ struct cifs_posix_acl { /* access conrol list (ACL) */
|
|||||||
|
|
||||||
/* end of POSIX ACL definitions */
|
/* end of POSIX ACL definitions */
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
__u32 OpenFlags; /* same as NT CreateX */
|
||||||
|
__u32 PosixOpenFlags;
|
||||||
|
__u32 Mode;
|
||||||
|
__u16 Level; /* reply level requested (see QPathInfo levels) */
|
||||||
|
__u16 Pad; /* reserved - MBZ */
|
||||||
|
} __attribute__((packed)) OPEN_PSX_REQ; /* level 0x209 SetPathInfo data */
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
/* reply varies based on requested level */
|
||||||
|
} __atribute__((packed)) OPEN_PSX_RSP; /* level 0x209 SetPathInfo data */
|
||||||
|
|
||||||
|
|
||||||
struct file_internal_info {
|
struct file_internal_info {
|
||||||
__u64 UniqueId; /* inode number */
|
__u64 UniqueId; /* inode number */
|
||||||
} __attribute__((packed)); /* level 0x3ee */
|
} __attribute__((packed)); /* level 0x3ee */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user