moved FlushOnCleanup from VolumeParam to struct fuse

This commit is contained in:
ethan committed 2025-08-07 15:30:07 +08:00
1 parent c8e182e1d4
commit e4ceb9010b
6 files changed
+6 -17

No files matched your search

+1 -2
View File
@@ -250,8 +250,7 @@ enum
UINT32 StreamInfoTimeout; /* stream info timeout (millis); overrides FileInfoTimeout */\
UINT32 EaTimeout; /* EA timeout (millis); overrides FileInfoTimeout */\
UINT32 FsextControlCode;\
UINT32 FlushOnCleanup:1;\
UINT32 Reserved32:31;\
UINT32 Reserved32[1];\
UINT64 Reserved64[2];
typedef struct
{
-8
View File
@@ -620,14 +620,6 @@ public:
{
_VolumeParams.FlushAndPurgeOnCleanup = !!FlushAndPurgeOnCleanup;
}
BOOLEAN FlushOnCleanup()
{
return _VolumeParams.FlushOnCleanup;
}
VOID SetFlushOnCleanup(BOOLEAN FlushOnCleanup)
{
_VolumeParams.FlushOnCleanup = !!FlushOnCleanup;
}
PWSTR Prefix()
{
return _VolumeParams.Prefix;