vfs_streams_xattr: make use of vfs_fake_fd_close()
authorStefan Metzmacher <metze@samba.org>
Fri, 18 Dec 2020 13:36:00 +0000 (14:36 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 13 Jan 2021 13:45:13 +0000 (13:45 +0000)
commit124a7dc068045362428dada609a41162455a6ff5
tree155dbb1831c29f7daa8cfe1da3d9cc06a72c8c23
parent15e4e106fe4c5a2310151dc4f88f25216306fa96
vfs_streams_xattr: make use of vfs_fake_fd_close()

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

That may allows 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>
(back-ported from commit 40e70cbd3c3a1df9205a7b18d07784c1754cc340)
source3/modules/vfs_streams_xattr.c