s3:locking: add file_has_open_streams()
commit279fa62a634ac7fc0e926a201cb7f547f4a2c1c2
authorRalph Boehme <slow@samba.org>
Sun, 27 May 2018 11:03:25 +0000 (27 13:03 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 12 Jul 2018 11:11:22 +0000 (12 13:11 +0200)
tree172d316daf562579bdb8f422867d96ccc4a08552
parent2da420e9f21772b8f544f25cc681fd6645a12823
s3:locking: add file_has_open_streams()

This can be used to check if a file opened by fsp also has stream opens.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13451

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit dd8cf54c79fe8536e34cde15801d60931cd47b8b)
source3/locking/locking.c
source3/locking/proto.h