mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 17:32:57 -05:00
sys, dll: convert memory barriers to interlocked operations
This commit is contained in:
@ -503,8 +503,7 @@ static NTSTATUS FspFsvolFileSystemControlOplock(
|
||||
{
|
||||
BOOLEAN DeletePending;
|
||||
|
||||
DeletePending = 0 != FileNode->DeletePending;
|
||||
MemoryBarrier();
|
||||
DeletePending = FspFileNodeDeletePending(FileNode);
|
||||
if (DeletePending)
|
||||
{
|
||||
Result = STATUS_DELETE_PENDING;
|
||||
|
Reference in New Issue
Block a user