smbd: in file_set_dosmode() do an early exit if smb_fname->fsp is NULL
authorRalph Boehme <slow@samba.org>
Tue, 31 Oct 2023 11:10:17 +0000 (12:10 +0100)
committerJeremy Allison <jra@samba.org>
Sun, 5 Nov 2023 18:34:38 +0000 (18:34 +0000)
commitb3c6c677a7031ad3a182a90c621a3f1ffb37e9fb
tree9c4b212ddc290d879946507844792fbc19591200
parent7c7786a121cedd56c37c7b349912680780b151f6
smbd: in file_set_dosmode() do an early exit if smb_fname->fsp is NULL

No change in behaviour. Simplifies coming changes.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/dosmode.c