From: Christof Schmitt Date: Fri, 19 Jun 2020 19:38:59 +0000 (-0700) Subject: smbd: Use NT_STATUS_NOTIFY_CLEANUP instead of STATUS_NOTIFY_CLEANUP X-Git-Tag: ldb-2.2.0~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb7ac0816a5f92b172ad6344c4faee3fe59cd997;p=thirdparty%2Fsamba.git smbd: Use NT_STATUS_NOTIFY_CLEANUP instead of STATUS_NOTIFY_CLEANUP Signed-off-by: Christof Schmitt Reviewed-by: Gary Lockyer --- 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; } }