From d745a0799baf76a7910d6332986c7ce9fbc8a6eb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 4 Dec 2024 16:11:44 +0100 Subject: [PATCH] smbd: Remove an obsolete comment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Volker Lendecke Reviewed-by: Pavel Filipenský --- source3/smbd/smb1_trans2.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source3/smbd/smb1_trans2.c b/source3/smbd/smb1_trans2.c index 70c0bb84571..47a408d5075 100644 --- a/source3/smbd/smb1_trans2.c +++ b/source3/smbd/smb1_trans2.c @@ -4542,11 +4542,6 @@ static void call_trans2setpathinfo( goto done; } - /* - * smb_fname->fsp may be NULL if smb_fname points at a symlink - * and we're in POSIX context, so be careful when using fsp - * below, it can still be NULL. - */ fsp = smb_fname->fsp; if (fsp == NULL) { status = NT_STATUS_OBJECT_NAME_NOT_FOUND; -- 2.47.3