summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-08 17:47:31 +0200
committerMichael Adam <obnox@samba.org>2012-06-08 23:20:20 +0200
commit8a338c65a1824ae8a93bef7bc8fac65684c285c8 (patch)
tree7aa6ee3b1ae97a50cd2bf84029539d3a28e009d9 /source3/smbd/proto.h
parent088ca00b926894575e75a03756642b9726f421d7 (diff)
downloadsamba-8a338c65a1824ae8a93bef7bc8fac65684c285c8.tar.gz
samba-8a338c65a1824ae8a93bef7bc8fac65684c285c8.tar.bz2
samba-8a338c65a1824ae8a93bef7bc8fac65684c285c8.zip
s3:smbd: change set_file_oplock() to return NTSTATUS
Pair-Programmed-With: Volker Lendecke <vl@samba.org> Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jun 8 23:20:20 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index b527d208b6..d81feef073 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -654,7 +654,7 @@ NTSTATUS get_relative_fid_filename(connection_struct *conn,
/* The following definitions come from smbd/oplock.c */
void break_kernel_oplock(struct messaging_context *msg_ctx, files_struct *fsp);
-bool set_file_oplock(files_struct *fsp, int oplock_type);
+NTSTATUS set_file_oplock(files_struct *fsp, int oplock_type);
void release_file_oplock(files_struct *fsp);
bool remove_oplock(files_struct *fsp);
bool downgrade_oplock(files_struct *fsp);