s3 oplocks: Add capabilites flags field to the kernel_oplocks struct
authorTim Prouty <tprouty@samba.org>
Tue, 3 Feb 2009 23:40:23 +0000 (15:40 -0800)
committerTim Prouty <tprouty@samba.org>
Tue, 10 Feb 2009 07:47:45 +0000 (23:47 -0800)
commit17eba16bad9b20518a5d336bc751e749a587ec68
tree6c49a7586bb5efc58f418b0d45b0177e72ff7f13
parentc6f1f055fdeee29ad7c5b2ae9909e8f1b1a7daec
s3 oplocks: Add capabilites flags field to the kernel_oplocks struct

Here is a short description for each of the new capability flags:

KOPLOCKS_LEVEL2_SUPPORTED: Level 2 oplocks are supported natively in
the kernel.

KOPLOCKS_DEFERRED_OPEN_NOTIFICATION: The kernel notifies deferred
openers when they can retry the open.

KOPLOCKS_TIMEOUT_NOTIFICATION: The kernel notifies smbds when an
oplock break times out.

KOPLOCKS_OPLOCK_BROKEN_NOTIFICATION: The kernel notifies smbds when an
oplock is broken.
source3/include/proto.h
source3/include/smb.h
source3/smbd/close.c
source3/smbd/oplock.c