diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2011-10-22 15:33:30 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2011-10-24 12:29:27 -0500 |
commit | 4f6bcec910d45e4f46b1514977caa529bc69e645 (patch) | |
tree | 37469bfcd1216ea98f0a947b997ce65e1b5aa3b0 /fs/cifs/cifsproto.h | |
parent | 85160e03a79e0d7f9082e61f6a784abc6f402701 (diff) | |
download | linux-3.10-4f6bcec910d45e4f46b1514977caa529bc69e645.tar.gz linux-3.10-4f6bcec910d45e4f46b1514977caa529bc69e645.tar.bz2 linux-3.10-4f6bcec910d45e4f46b1514977caa529bc69e645.zip |
CIFS: Implement caching mechanism for posix brlocks
to handle all lock requests on the client in an exclusive oplock case.
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index c25d0636cc4..67c26cfe160 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -374,8 +374,8 @@ extern int CIFSSMBLock(const int xid, struct cifs_tcon *tcon, const __u32 numLock, const __u8 lockType, const bool waitFlag, const __u8 oplock_level); extern int CIFSSMBPosixLock(const int xid, struct cifs_tcon *tcon, - const __u16 smb_file_id, const int get_flag, - const __u64 len, struct file_lock *, + const __u16 smb_file_id, const __u32 netpid, + const int get_flag, const __u64 len, struct file_lock *, const __u16 lock_type, const bool waitFlag); extern int CIFSSMBTDis(const int xid, struct cifs_tcon *tcon); extern int CIFSSMBEcho(struct TCP_Server_Info *server); |