Initial original import from: fuse-2.4.2-2.fc4
[captive.git] / src / libcaptive / cc / sharedcachemap-priv.h
index af2fcac..7a7cf07 100644 (file)
@@ -57,6 +57,8 @@ struct _CaptiveSharedCacheMapObject {
        /* We use do not use 'ValidDataLength' as I assume W32
         * automatically increases 'ValidDataLength' during Cache Manager write operations.
         * We do not increase it and therefore it is mostly useless for us.
+        * In some cases (during NTFS mount) there may be also invalid 'ValidDataLength' at all:
+        *      CcSetFileSizes(AllocationSize=0x1000000,FileSize=0xf80208,ValidDataLength=0x23b801a0)
         */
        guint64 ValidDataLength;        /* ==CC_FILE_SIZES.ValidDataLength.QuadPart */
        /* The real allocation size of 'buffer' and 'pages'.