aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky <piastryyy@gmail.com>2010-08-17 03:26:00 -0400
committerSteve French <smfrench@gmail.com>2011-10-13 18:16:28 -0400
commit03776f4516bc299b3145595bdd704d40d69adc02 (patch)
treea4c17c0120d5865f322ec5362aa2b3f7f0b826d9 /fs/cifs/cifsglob.h
parent94443f43404239c2a6dc4252a7cb9e77f5b1eb6e (diff)
CIFS: Simplify byte range locking code
Split cifs_lock into several functions and let CIFSSMBLock get pid as an argument. Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 3b83fe7bfe60..1f265ffe7e63 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -492,6 +492,7 @@ struct cifsLockInfo {
492 struct list_head llist; /* pointer to next cifsLockInfo */ 492 struct list_head llist; /* pointer to next cifsLockInfo */
493 __u64 offset; 493 __u64 offset;
494 __u64 length; 494 __u64 length;
495 __u32 pid;
495 __u8 type; 496 __u8 type;
496}; 497};
497 498