]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Remove an obsolete comment
authorVolker Lendecke <vl@samba.org>
Wed, 4 Dec 2024 15:11:44 +0000 (16:11 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 17 Dec 2024 12:30:31 +0000 (12:30 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
source3/smbd/smb1_trans2.c

index 70c0bb8457105b3c0c369d0d3619baf5e467f853..47a408d507591371e5a26ed28e2b655aab2ce099 100644 (file)
@@ -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;