]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:locking: add file_has_open_streams()
authorRalph Boehme <slow@samba.org>
Sun, 27 May 2018 11:03:25 +0000 (13:03 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 12 Jul 2018 11:10:26 +0000 (13:10 +0200)
commitdd78d9a602e2a088b3a3b7ce0f0a9520ce926268
treeb087f11388a37c8db0352daabf91015f5b75ba35
parent85571d08b2683ee2c9bf8f2abc76af8bc6055a86
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