From 8a338c65a1824ae8a93bef7bc8fac65684c285c8 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 8 Jun 2012 17:47:31 +0200 Subject: s3:smbd: change set_file_oplock() to return NTSTATUS Pair-Programmed-With: Volker Lendecke Pair-Programmed-With: Stefan Metzmacher Autobuild-User(master): Michael Adam Autobuild-Date(master): Fri Jun 8 23:20:20 CEST 2012 on sn-devel-104 --- source3/smbd/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/proto.h') 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); -- cgit