]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from open_streams_for_del...
authorRalph Boehme <slow@samba.org>
Tue, 2 Feb 2021 14:56:44 +0000 (15:56 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 5 Feb 2021 06:22:35 +0000 (06:22 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c

index ca870c6a6b1fe9978982ead65a222764c861ea28..27a08c333e716e170e62dbaccbdd3acb9d2926c1 100644 (file)
@@ -4978,9 +4978,6 @@ static NTSTATUS open_streams_for_delete(connection_struct *conn,
                }
 
                status = openat_pathref_fsp(conn->cwd_fsp, smb_fname_cp);
-               if (NT_STATUS_EQUAL(status, NT_STATUS_STOPPED_ON_SYMLINK)) {
-                       status = NT_STATUS_OBJECT_NAME_NOT_FOUND;
-               }
                if (!NT_STATUS_IS_OK(status)) {
                        DBG_DEBUG("Unable to open stream [%s]: %s\n",
                                  smb_fname_str_dbg(smb_fname_cp),