From: David Howells Date: Tue, 31 Jul 2007 07:38:49 +0000 (-0700) Subject: AFS: fix file locking X-Git-Tag: v2.6.23-rc2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff8e210a9550ad760a62e9803938cd04f9fb0851;p=pandora-kernel.git AFS: fix file locking Fix file locking for AFS: (*) Start the lock manager thread under a mutex to avoid a race. (*) Made the locking non-fair: New readlocks will jump pending writelocks if there's a readlock currently granted on a file. This makes the behaviour similar to Linux's VFS locking. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed