diff options
author | Steve French <sfrench@us.ibm.com> | 2005-09-22 07:05:57 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-09-22 07:05:57 +0200 |
commit | 2096243885ee34b78cb57ce835e07c8536a67d2a (patch) | |
tree | caae2d2535d33cca16f11da9a2d25e445bd30018 /fs/cifs/cifspdu.h | |
parent | [CIFS] Add support for legacy servers part eight. Write fixes for Windows (diff) | |
download | linux-2096243885ee34b78cb57ce835e07c8536a67d2a.tar.xz linux-2096243885ee34b78cb57ce835e07c8536a67d2a.zip |
[CIFS] Add support for legacy servers part nine. statfs (df and du) is now
functional, and the length check is fixed so readdir does not throw a
warning message when windows me messes up the response to FindFirst
of an empty dir (with only . and ..).
Signed-off-by: Steve French (sfrench@us.ibm.com)
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r-- | fs/cifs/cifspdu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h index cf466595b0d4..3fa37790bea2 100644 --- a/fs/cifs/cifspdu.h +++ b/fs/cifs/cifspdu.h @@ -1684,6 +1684,14 @@ typedef struct { } FILE_SYSTEM_INFO; /* size info, level 0x103 */ typedef struct { + __le32 fsid; + __le32 SectorsPerAllocationUnit; + __le32 TotalAllocationUnits; + __le32 FreeAllocationUnits; + __le16 BytesPerSector; +} FILE_SYSTEM_ALLOC_INFO; + +typedef struct { __le16 MajorVersionNumber; __le16 MinorVersionNumber; __le64 Capability; |