From: Ralph Boehme Date: Tue, 2 Feb 2021 14:56:26 +0000 (+0100) Subject: smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from parent_pathref() X-Git-Tag: tevent-0.11.0~1816 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb82fac0f554ad140e0b0fd7efac84a7c3dfa2e2;p=thirdparty%2Fsamba.git smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from parent_pathref() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/files.c b/source3/smbd/files.c index c4ba08c3772..3254d728ad6 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -705,9 +705,6 @@ NTSTATUS parent_pathref(TALLOC_CTX *mem_ctx, } status = openat_pathref_fsp(dirfsp, parent); - if (NT_STATUS_EQUAL(status, NT_STATUS_STOPPED_ON_SYMLINK)) { - status = NT_STATUS_OBJECT_NAME_NOT_FOUND; - } if (!NT_STATUS_IS_OK(status)) { TALLOC_FREE(parent); return status;