X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fcifs%2Fcifspdu.h;h=067eb4e3eebb1a426bea374853222520d8fac172;hb=043471a130a8787b4b470bb4400b780bf615b019;hp=94646af9f84ddcc2c9f3cfc150a31a30c48ff803;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h index 94646af9f..067eb4e3e 100644 --- a/fs/cifs/cifspdu.h +++ b/fs/cifs/cifspdu.h @@ -1046,8 +1046,6 @@ typedef union smb_com_transaction2 { /* PathInfo/FileInfo infolevels */ #define SMB_INFO_STANDARD 1 -#define SMB_SET_FILE_EA 2 -#define SMB_QUERY_FILE_EA_SIZE 2 #define SMB_INFO_QUERY_EAS_FROM_LIST 3 #define SMB_INFO_QUERY_ALL_EAS 4 #define SMB_INFO_IS_NAME_VALID 6 @@ -1622,19 +1620,6 @@ typedef struct { char LinkDest[1]; } FILE_UNIX_LINK_INFO; /* level 513 QPathInfo */ -typedef struct { - __u16 CreationDate; - __u16 CreationTime; - __u16 LastAccessDate; - __u16 LastAccessTime; - __u16 LastWriteDate; - __u16 LastWriteTime; - __u32 DataSize; /* File Size (EOF) */ - __u32 AllocationSize; - __u16 Attributes; /* verify not u32 */ - __u32 EASize; -} FILE_INFO_STANDARD; /* level 1 SetPath/FileInfo */ - /* defines for enumerating possible values of the Unix type field below */ #define UNIX_FILE 0 #define UNIX_DIR 1 @@ -1695,12 +1680,12 @@ typedef struct { } FILE_DIRECTORY_INFO; /* level 257 FF response data area */ struct gea { - unsigned char name_len; - char name[1]; + unsigned char cbName; + char szName[1]; }; struct gealist { - unsigned long list_len; + unsigned long cbList; struct gea list[1]; }; @@ -1708,7 +1693,7 @@ struct fea { unsigned char EA_flags; __u8 name_len; __u16 value_len; - char name[1]; + char szName[1]; /* optionally followed by value */ }; /* flags for _FEA.fEA */