summaryrefslogtreecommitdiff
path: root/source3/locking/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-14 13:49:14 +0200
committerJeremy Allison <jra@samba.org>2013-10-08 14:42:25 -0700
commite0e5f67da522521a37622a5833b8699ae63e8c27 (patch)
treecd1d4c2dae26dcad9876c7ecd346848f99f2ecfe /source3/locking/proto.h
parentad2ba58f53a7fb6b87511288cb450f1327f1ccbf (diff)
downloadsamba-e0e5f67da522521a37622a5833b8699ae63e8c27.tar.gz
samba-e0e5f67da522521a37622a5833b8699ae63e8c27.tar.bz2
samba-e0e5f67da522521a37622a5833b8699ae63e8c27.zip
smbd: Convert set_share_mode to return bool for success
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/locking/proto.h')
-rw-r--r--source3/locking/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/proto.h b/source3/locking/proto.h
index dde0be431d..02e2bf5307 100644
--- a/source3/locking/proto.h
+++ b/source3/locking/proto.h
@@ -171,7 +171,7 @@ void get_file_infos(struct file_id id,
struct timespec *write_time);
bool is_valid_share_mode_entry(const struct share_mode_entry *e);
bool share_mode_stale_pid(struct share_mode_data *d, uint32_t idx);
-void set_share_mode(struct share_mode_lock *lck, files_struct *fsp,
+bool set_share_mode(struct share_mode_lock *lck, files_struct *fsp,
uid_t uid, uint64_t mid, uint16 op_type);
bool del_share_mode(struct share_mode_lock *lck, files_struct *fsp);
bool mark_share_mode_disconnected(struct share_mode_lock *lck,