]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:smbd: simplify the error handling in create_file_unixpath()
authorStefan Metzmacher <metze@samba.org>
Mon, 21 Dec 2020 15:49:03 +0000 (16:49 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 14 Jan 2021 12:40:56 +0000 (12:40 +0000)
commitda052dde8a9801063e74d036d15f516d079d3720
tree49a990be1733f0d5a0cd01bb6d7a5918ff8f4022
parent9c277b27dec568677c0b407497da6eb95ae7cb8d
s3:smbd: simplify the error handling in create_file_unixpath()

We can just call close_file(req, fsp, ERROR_CLOSE), as it handles
non-fsa fsp's and base_fsp's just fine.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jan 14 12:40:56 UTC 2021 on sn-devel-184
source3/smbd/open.c