moved FlushOnCleanup from VolumeParam to struct fuse

This commit is contained in:
ethan
2025-08-07 15:21:18 +08:00
parent c8e182e1d4
commit e4ceb9010b
6 changed files with 6 additions and 17 deletions

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
{

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;