From: Steve French Date: Thu, 18 Jun 2015 10:10:27 +0000 (-0500) Subject: add struct FILE_STANDARD_INFO X-Git-Tag: v4.2-rc1~63^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80bc83c360ef04cd1f5f8f0fb9c47669e702c980;p=platform%2Fkernel%2Flinux-exynos.git add struct FILE_STANDARD_INFO Signed-off-by: Gregor Beck Reviewed-by: Jeff Layton --- diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h index 5f9822ac..998a66f 100644 --- a/fs/cifs/cifspdu.h +++ b/fs/cifs/cifspdu.h @@ -2310,6 +2310,16 @@ typedef struct { /* data block encoding of response to level 263 QPathInfo */ char FileName[1]; } __attribute__((packed)) FILE_ALL_INFO; /* level 0x107 QPathInfo */ +typedef struct { + __le64 AllocationSize; + __le64 EndOfFile; /* size ie offset to first free byte in file */ + __le32 NumberOfLinks; /* hard links */ + __u8 DeletePending; + __u8 Directory; + __u16 Pad; +} __attribute__((packed)) FILE_STANDARD_INFO; /* level 0x102 QPathInfo */ + + /* defines for enumerating possible values of the Unix type field below */ #define UNIX_FILE 0 #define UNIX_DIR 1