diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-06-10 14:29:31 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-06-10 14:29:31 +0000 |
commit | 26848a3478ab132cd924f14a66f85f74c2433329 (patch) | |
tree | 10ede47ba8cdc78c80ef01dde970f9ab11050a92 /source3/include | |
parent | 52cb05678a9b08b5aa7dbe13ae6b54ff9ee4ecac (diff) | |
download | samba-26848a3478ab132cd924f14a66f85f74c2433329.tar.gz samba-26848a3478ab132cd924f14a66f85f74c2433329.tar.bz2 samba-26848a3478ab132cd924f14a66f85f74c2433329.zip |
a first pass at Linux kernel oplocks support
(This used to be commit 3253085d9883a181c04b9c9ecf7d0ccdfbcee88d)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index d2c79e3b53..68df3f250c 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1607,9 +1607,8 @@ extern int chain_size; #define KERNEL_OPLOCK_CAPABILITY 0x1 -#if defined(HAVE_KERNEL_OPLOCKS_IRIX) /* - * Oplock break command code sent via the kernel interface. + * Oplock break command code sent via the kernel interface (if it exists). * * Form of this is : * @@ -1618,12 +1617,10 @@ extern int chain_size; * | cmd| dev | inode | * +----+--------+--------+ */ - #define KERNEL_OPLOCK_BREAK_DEV_OFFSET 2 #define KERNEL_OPLOCK_BREAK_INODE_OFFSET (KERNEL_OPLOCK_BREAK_DEV_OFFSET + sizeof(SMB_DEV_T)) #define KERNEL_OPLOCK_BREAK_MSG_LEN (KERNEL_OPLOCK_BREAK_INODE_OFFSET + sizeof(SMB_INO_T)) -#endif /* HAVE_KERNEL_OPLOCKS_IRIX */ /* if a kernel does support oplocks then a structure of the following typee is used to describe how to interact with the kernel */ |