s3:locking: add file_has_open_streams()
authorRalph Boehme <slow@samba.org>
Sun, 27 May 2018 11:03:25 +0000 (13:03 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 30 May 2018 17:10:26 +0000 (19:10 +0200)
commitdd8cf54c79fe8536e34cde15801d60931cd47b8b
tree7ee401f751e54bd21a17245f55e5524cc51759b8
parent37e7ff05ab9443c0330e68f5c701ffecedf2d738
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>
source3/locking/locking.c
source3/locking/proto.h