summaryrefslogtreecommitdiffstats
path: root/fs/hugetlbfs
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2007-07-31 09:38:49 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-01 00:39:40 +0200
commitff8e210a9550ad760a62e9803938cd04f9fb0851 (patch)
tree5fa45dae4ca7a180db2e83e4bc731c2a567f1f0d /fs/hugetlbfs
parentbpqether: fix rcu usage (diff)
downloadlinux-ff8e210a9550ad760a62e9803938cd04f9fb0851.tar.xz
linux-ff8e210a9550ad760a62e9803938cd04f9fb0851.zip
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 <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hugetlbfs')
0 files changed, 0 insertions, 0 deletions