CIFS: Simplify byte range locking code
commit03776f4516bc299b3145595bdd704d40d69adc02
authorPavel Shilovsky <piastryyy@gmail.com>
Tue, 17 Aug 2010 07:26:00 +0000 (17 11:26 +0400)
committerSteve French <smfrench@gmail.com>
Thu, 13 Oct 2011 22:16:28 +0000 (13 17:16 -0500)
treea4c17c0120d5865f322ec5362aa2b3f7f0b826d9
parent94443f43404239c2a6dc4252a7cb9e77f5b1eb6e
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>
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/file.c