aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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