aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2015-06-18 06:10:27 -0400
committerSteve French <steve.french@primarydata.com>2015-06-27 23:25:56 -0400
commit80bc83c360ef04cd1f5f8f0fb9c47669e702c980 (patch)
treeed6bb748644952f67127c77ce48a27c4e4c0966c
parentf799d6234b6f871ff0fc0d3d2f6f47c4df4505b7 (diff)
add struct FILE_STANDARD_INFO
Signed-off-by: Gregor Beck <gbeck@sernet.de> Reviewed-by: Jeff Layton <jlayton@primarydata.com>
-rw-r--r--fs/cifs/cifspdu.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h
index 5f9822ac0245..998a66ffe01e 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 */
2310 char FileName[1]; 2310 char FileName[1];
2311} __attribute__((packed)) FILE_ALL_INFO; /* level 0x107 QPathInfo */ 2311} __attribute__((packed)) FILE_ALL_INFO; /* level 0x107 QPathInfo */
2312 2312
2313typedef struct {
2314 __le64 AllocationSize;
2315 __le64 EndOfFile; /* size ie offset to first free byte in file */
2316 __le32 NumberOfLinks; /* hard links */
2317 __u8 DeletePending;
2318 __u8 Directory;
2319 __u16 Pad;
2320} __attribute__((packed)) FILE_STANDARD_INFO; /* level 0x102 QPathInfo */
2321
2322
2313/* defines for enumerating possible values of the Unix type field below */ 2323/* defines for enumerating possible values of the Unix type field below */
2314#define UNIX_FILE 0 2324#define UNIX_FILE 0
2315#define UNIX_DIR 1 2325#define UNIX_DIR 1