summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-09-08 16:58:36 +0200
committerJeremy Allison <jra@samba.org>2018-09-11 18:36:23 +0200
commitf741f4d1950c0c08069aba58dcf4fa1dd7517162 (patch)
tree50ef583ee0f9cd9be3cf65d2ba8d08f3115f9598 /source3/smbd/proto.h
parent5ef3610f7b5d10d437601a18660109af032bb630 (diff)
downloadsamba-f741f4d1950c0c08069aba58dcf4fa1dd7517162.tar.gz
smbd: Factor out "has_other_nonposix_opens"
This is exactly the same in both file and directory cases Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 2a41d9d251d..5399c5ab483 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -146,6 +146,9 @@ NTSTATUS delete_all_streams(connection_struct *conn,
bool recursive_rmdir(TALLOC_CTX *ctx,
connection_struct *conn,
struct smb_filename *smb_dname);
+bool has_other_nonposix_opens(struct share_mode_lock *lck,
+ struct files_struct *fsp,
+ struct server_id self);
/* The following definitions come from smbd/conn.c */