CIFS: Remove spinlock dependence in brlock processing
authorPavel Shilovsky <pshilovsky@samba.org>
Wed, 19 Sep 2012 13:22:43 +0000 (06:22 -0700)
committerSteve French <smfrench@gmail.com>
Tue, 25 Sep 2012 02:46:32 +0000 (21:46 -0500)
commitf45d34167c67b083b54690e349e77f59062ef0ea
tree6be4f2a62e99e348e6cab03a24a1c45889a6722f
parent1c0bd60b560cdf63a263f8ff3cebe9f99fe7a47c
CIFS: Remove spinlock dependence in brlock processing

Now we need to lock/unlock a spinlock while processing brlock ops
on the inode. Move brlocks of a fid to a separate list and attach
all such lists to the inode. This let us not hold a spinlock.

Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
fs/cifs/cifsfs.c
fs/cifs/cifsglob.h
fs/cifs/file.c