From: Christof Schmitt Date: Fri, 19 Jun 2020 19:47:06 +0000 (-0700) Subject: ntvfs: Use NT_STATUS_NOTIFY_ENUM_DIR instead of STATUS_NOTIFY_ENUM_DIR X-Git-Tag: ldb-2.2.0~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73d452305fcc59b0f54bf023d22e142d8f096d22;p=thirdparty%2Fsamba.git ntvfs: Use NT_STATUS_NOTIFY_ENUM_DIR instead of STATUS_NOTIFY_ENUM_DIR Signed-off-by: Christof Schmitt Reviewed-by: Gary Lockyer --- diff --git a/source4/ntvfs/ntvfs_generic.c b/source4/ntvfs/ntvfs_generic.c index be6bc830ced..6b868df743a 100644 --- a/source4/ntvfs/ntvfs_generic.c +++ b/source4/ntvfs/ntvfs_generic.c @@ -1595,7 +1595,7 @@ static NTSTATUS ntvfs_map_notify_finish(struct ntvfs_module_context *ntvfs, switch (nt->nttrans.level) { case RAW_NOTIFY_SMB2: if (nt2->nttrans.out.num_changes == 0) { - return STATUS_NOTIFY_ENUM_DIR; + return NT_STATUS_NOTIFY_ENUM_DIR; } nt->smb2.out.num_changes = nt2->nttrans.out.num_changes; nt->smb2.out.changes = talloc_steal(req, nt2->nttrans.out.changes);