]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ntvfs: Use NT_STATUS_NOTIFY_ENUM_DIR instead of STATUS_NOTIFY_ENUM_DIR
authorChristof Schmitt <cs@samba.org>
Fri, 19 Jun 2020 19:47:06 +0000 (12:47 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 22 Jun 2020 12:07:38 +0000 (12:07 +0000)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/ntvfs/ntvfs_generic.c

index be6bc830ced848c5f8b3c10c2da24f6edd9e18a1..6b868df743a4a1ea6b33fead6b58171f0574b555 100644 (file)
@@ -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);