]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5de6023714f2950398cca37d9c1e6609e45eef98
tree6be4f2a62e99e348e6cab03a24a1c45889a6722f
parent66920e2e662f7f999b497a12cd88dbf68f6e44ac
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