vfs_fruit: fix close for fake_fd
authorRalph Boehme <slow@samba.org>
Fri, 11 Dec 2020 11:59:28 +0000 (12:59 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 13 Jan 2021 13:45:00 +0000 (13:45 +0000)
commit121fbf80523e4456a0fc068e08b0e6379d39200d
tree30699a023fedc730a13ec1976ad5c3602bc67402
parent8a77dcd69358a3f16ae7a93f9e7f606967ab2951
vfs_fruit: fix close for fake_fd

If the next backend doesn't use kernel fd's should not
pass a fake_fd to the next backend.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jan  8 21:38:18 UTC 2021 on sn-devel-184

(back-ported from commit 564b62a6f7c0a9b9712946d723118122b9c3785f)

Autobuild-User(v4-12-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-12-test): Wed Jan 13 13:45:00 UTC 2021 on sn-devel-184
source3/modules/vfs_fruit.c