]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: use fdos_mode() in reply_getattrE()
authorRalph Boehme <slow@samba.org>
Mon, 19 Oct 2020 18:49:02 +0000 (20:49 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 16 Dec 2020 09:08:32 +0000 (09:08 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/reply.c

index 5dd2c20e8cfbcb4a948f3e18f53f495676540a5b..8bfe15510c4727db66bc143d34b9b4390ebc1a2d 100644 (file)
@@ -9675,7 +9675,7 @@ void reply_getattrE(struct smb_request *req)
                return;
        }
 
-       mode = dos_mode(conn, fsp->fsp_name);
+       mode = fdos_mode(fsp);
 
        /*
         * Convert the times into dos times. Set create