diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c index 5bc1f57..bda8fa9 100644 --- a/sys/nfs41_driver.c +++ b/sys/nfs41_driver.c @@ -3039,9 +3039,9 @@ NTSTATUS nfs41_FinalizeVNetRoot( if (pVNetRoot->pNetRoot->Type != NET_ROOT_DISK && pVNetRoot->pNetRoot->Type != NET_ROOT_WILD) status = STATUS_NOT_SUPPORTED; - #ifdef STORE_MOUNT_SEC_CONTEXT - SeDeleteClientSecurity(&pVNetRootContext->mount_sec_ctx); + else + SeDeleteClientSecurity(&pVNetRootContext->mount_sec_ctx); #endif DbgEx(); return status;