From fb7ac0816a5f92b172ad6344c4faee3fe59cd997 Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Fri, 19 Jun 2020 12:38:59 -0700 Subject: [PATCH] smbd: Use NT_STATUS_NOTIFY_CLEANUP instead of STATUS_NOTIFY_CLEANUP Signed-off-by: Christof Schmitt Reviewed-by: Gary Lockyer --- source3/smbd/close.c | 2 +- source3/smbd/notify.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/smbd/close.c b/source3/smbd/close.c index da28559e49b..3169c8d5487 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -1117,7 +1117,7 @@ static NTSTATUS close_directory(struct smb_request *req, files_struct *fsp, NTSTATUS notify_status; if (fsp->conn->sconn->using_smb2) { - notify_status = STATUS_NOTIFY_CLEANUP; + notify_status = NT_STATUS_NOTIFY_CLEANUP; } else { notify_status = NT_STATUS_OK; } diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index b36a4c0003a..eb6317b7e8a 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -411,11 +411,11 @@ static void smbd_notify_cancel_by_map(struct notify_mid_map *map) } if (!NT_STATUS_IS_OK(sstatus)) { - notify_status = STATUS_NOTIFY_CLEANUP; + notify_status = NT_STATUS_NOTIFY_CLEANUP; } else if (smb2req->tcon == NULL) { - notify_status = STATUS_NOTIFY_CLEANUP; + notify_status = NT_STATUS_NOTIFY_CLEANUP; } else if (!NT_STATUS_IS_OK(smb2req->tcon->status)) { - notify_status = STATUS_NOTIFY_CLEANUP; + notify_status = NT_STATUS_NOTIFY_CLEANUP; } } -- 2.47.3