diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2011-10-22 07:33:29 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2011-10-24 13:27:01 -0400 |
commit | 85160e03a79e0d7f9082e61f6a784abc6f402701 (patch) | |
tree | 30e08edf4a022583a582331144d54d26faf2f734 /fs/cifs/cifsglob.h | |
parent | 42274bb22afc3e877ae5abed787b0b09d7dede52 (diff) |
CIFS: Implement caching mechanism for mandatory brlocks
If we have an oplock and negotiate mandatory locking style we handle
all brlock requests on the client.
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Acked-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index d153d0b89d39..8238aa13e01c 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -496,6 +496,8 @@ extern struct cifs_tcon *cifs_sb_master_tcon(struct cifs_sb_info *cifs_sb); | |||
496 | */ | 496 | */ |
497 | struct cifsLockInfo { | 497 | struct cifsLockInfo { |
498 | struct list_head llist; /* pointer to next cifsLockInfo */ | 498 | struct list_head llist; /* pointer to next cifsLockInfo */ |
499 | struct list_head blist; /* pointer to locks blocked on this */ | ||
500 | wait_queue_head_t block_q; | ||
499 | __u64 offset; | 501 | __u64 offset; |
500 | __u64 length; | 502 | __u64 length; |
501 | __u32 pid; | 503 | __u32 pid; |