summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-01-09 13:07:58 -0800
committerTim Prouty <tprouty@samba.org>2009-02-09 23:47:44 -0800
commit9c1310fa6ae1a67dc0fea3bf549d805ff167e78f (patch)
tree7f76f09d7839a7e8ef3caf12280a471bce3032f7 /source3/include/smb.h
parent122dbbf00acc1768f98e5b57e94aab2b61671f40 (diff)
downloadsamba-9c1310fa6ae1a67dc0fea3bf549d805ff167e78f.tar.gz
samba-9c1310fa6ae1a67dc0fea3bf549d805ff167e78f.tar.bz2
samba-9c1310fa6ae1a67dc0fea3bf549d805ff167e78f.zip
s3 oplocks: Differentiate between releasing an oplock vs. downgrading to Level 2 for kernel oplocks
Pass in an extra argument when releasing an oplock so kernel oplock implementations can support downgrading from Level 1 to Level 2.
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 100ec21031..96cd3b7d85 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1701,7 +1701,7 @@ struct kernel_oplocks_ops {
bool (*set_oplock)(struct kernel_oplocks *ctx,
files_struct *fsp, int oplock_type);
void (*release_oplock)(struct kernel_oplocks *ctx,
- files_struct *fsp);
+ files_struct *fsp, int oplock_type);
};
#include "smb_macros.h"