mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 09:22:57 -05:00
sys, dll: convert memory barriers to interlocked operations
This commit is contained in:
@ -753,8 +753,7 @@ static NTSTATUS FspFsvolNotifyChangeDirectory(
|
||||
return STATUS_ACCESS_DENIED;
|
||||
|
||||
/* stop now if the directory is pending deletion */
|
||||
DeletePending = 0 != FileNode->DeletePending;
|
||||
MemoryBarrier();
|
||||
DeletePending = FspFileNodeDeletePending(FileNode);
|
||||
if (DeletePending)
|
||||
return STATUS_DELETE_PENDING;
|
||||
|
||||
|
Reference in New Issue
Block a user