diff options
author | Steve French <sfrench@us.ibm.com> | 2005-09-22 01:05:57 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-09-22 01:05:57 -0400 |
commit | 2096243885ee34b78cb57ce835e07c8536a67d2a (patch) | |
tree | caae2d2535d33cca16f11da9a2d25e445bd30018 /fs/cifs/cifspdu.h | |
parent | e30dcf3a1905b4d2154f95db5fdfdf69691b4f0e (diff) |
[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 { | |||
1684 | } FILE_SYSTEM_INFO; /* size info, level 0x103 */ | 1684 | } FILE_SYSTEM_INFO; /* size info, level 0x103 */ |
1685 | 1685 | ||
1686 | typedef struct { | 1686 | typedef struct { |
1687 | __le32 fsid; | ||
1688 | __le32 SectorsPerAllocationUnit; | ||
1689 | __le32 TotalAllocationUnits; | ||
1690 | __le32 FreeAllocationUnits; | ||
1691 | __le16 BytesPerSector; | ||
1692 | } FILE_SYSTEM_ALLOC_INFO; | ||
1693 | |||
1694 | typedef struct { | ||
1687 | __le16 MajorVersionNumber; | 1695 | __le16 MajorVersionNumber; |
1688 | __le16 MinorVersionNumber; | 1696 | __le16 MinorVersionNumber; |
1689 | __le64 Capability; | 1697 | __le64 Capability; |