]> git.karo-electronics.de Git - karo-tx-linux.git/commit
CIFS: Remove spinlock dependence in brlock processing
authorPavel Shilovsky <pshilovsky@samba.org>
Tue, 29 May 2012 11:31:46 +0000 (15:31 +0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 14 Sep 2012 14:44:33 +0000 (09:44 -0500)
commitd94ed776d01a5078fa723ac675f940e3cb5d8e57
treea880f1ca9ba3a3f5e03248372060347378016c48
parent10f7183cec035846e468e798ff8a651e8cb6ce38
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