commit | 03776f4516bc299b3145595bdd704d40d69adc02 | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <piastryyy@gmail.com> | Tue Aug 17 11:26:00 2010 +0400 |
committer | Steve French <smfrench@gmail.com> | Thu Oct 13 17:16:28 2011 -0500 |
tree | a4c17c0120d5865f322ec5362aa2b3f7f0b826d9 | |
parent | 94443f43404239c2a6dc4252a7cb9e77f5b1eb6e [diff] [blame] |
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>
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 3b83fe7..1f265ff 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h
@@ -492,6 +492,7 @@ struct list_head llist; /* pointer to next cifsLockInfo */ __u64 offset; __u64 length; + __u32 pid; __u8 type; };