]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:smbd: add vfs_fake_fd_close() helper
authorStefan Metzmacher <metze@samba.org>
Fri, 18 Dec 2020 13:03:09 +0000 (14:03 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 8 Jan 2021 20:31:33 +0000 (20:31 +0000)
commit8f057333466b2d9845cd8bc2b794d98252ade2a4
tree8a309e93e0d670ea552f38bbba2bad1035252eb8
parentf9b2559c4208d680d43fa39823b2d5eb048bcf19
s3:smbd: add vfs_fake_fd_close() helper

When we used vfs_fake_fd() we should use vfs_fake_fd_close()
in order to have things symetric.

This makes code easier to understand and may allow us to change
vfs_fake_fd() internally if required.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14596

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/proto.h
source3/smbd/vfs.c