diff options
author | Pavel Shilovsky <piastryyy@gmail.com> | 2010-08-17 03:26:00 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2011-10-13 18:16:28 -0400 |
commit | 03776f4516bc299b3145595bdd704d40d69adc02 (patch) | |
tree | a4c17c0120d5865f322ec5362aa2b3f7f0b826d9 /fs/cifs/cifsproto.h | |
parent | 94443f43404239c2a6dc4252a7cb9e77f5b1eb6e (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/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 9ddb1eccde69..94834dbb46da 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -361,7 +361,7 @@ extern int CIFSGetSrvInodeNumber(const int xid, struct cifs_tcon *tcon, | |||
361 | int remap_special_chars); | 361 | int remap_special_chars); |
362 | 362 | ||
363 | extern int CIFSSMBLock(const int xid, struct cifs_tcon *tcon, | 363 | extern int CIFSSMBLock(const int xid, struct cifs_tcon *tcon, |
364 | const __u16 netfid, const __u64 len, | 364 | const __u16 netfid, const __u32 netpid, const __u64 len, |
365 | const __u64 offset, const __u32 numUnlock, | 365 | const __u64 offset, const __u32 numUnlock, |
366 | const __u32 numLock, const __u8 lockType, | 366 | const __u32 numLock, const __u8 lockType, |
367 | const bool waitFlag, const __u8 oplock_level); | 367 | const bool waitFlag, const __u8 oplock_level); |