linux-stable/fs/afs
David Howells ff8e210a95 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>
2007-07-31 15:39:40 -07:00
..
afs.h AFS: implement file locking 2007-07-16 09:05:43 -07:00
afs_cm.h [AFS]: Implement the CB.InitCallBackState3 operation. 2007-04-26 15:58:49 -07:00
afs_fs.h AFS: implement file locking 2007-07-16 09:05:43 -07:00
afs_vl.h [AF_RXRPC]: Make the in-kernel AFS filesystem use AF_RXRPC. 2007-04-26 15:55:03 -07:00
cache.c [AF_RXRPC]: Make the in-kernel AFS filesystem use AF_RXRPC. 2007-04-26 15:55:03 -07:00
cache.h [AFS]: Clean up the AFS sources 2007-04-26 15:49:28 -07:00
callback.c AFS: implement file locking 2007-07-16 09:05:43 -07:00
cell.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
cmservice.c [AFS]: Fix memory leak in SRXAFSCB_GetCapabilities 2007-05-03 03:27:39 -07:00
dir.c AFS: implement file locking 2007-07-16 09:05:43 -07:00
file.c AFS: implement file locking 2007-07-16 09:05:43 -07:00
flock.c AFS: fix file locking 2007-07-31 15:39:40 -07:00
fsclient.c AFS: implement file locking 2007-07-16 09:05:43 -07:00
inode.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
internal.h AFS: implement file locking 2007-07-16 09:05:43 -07:00
main.c AFS: implement file locking 2007-07-16 09:05:43 -07:00
Makefile AFS: implement file locking 2007-07-16 09:05:43 -07:00
misc.c AFS: implement file locking 2007-07-16 09:05:43 -07:00
mntpt.c AFS: AFS fixups 2007-05-09 12:30:50 -07:00
netdevices.c [NET]: Rework dev_base via list_head (v3) 2007-05-03 15:13:45 -07:00
proc.c Make AFS use seq_list_xxx helpers 2007-07-16 09:05:41 -07:00
rxrpc.c AFS: Use patched rxrpc_kernel_send_data() correctly 2007-07-20 08:54:14 -07:00
security.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
server.c AFS: AFS fixups 2007-05-09 12:30:50 -07:00
super.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
vlclient.c [AFS]: Add security support. 2007-04-26 15:57:07 -07:00
vlocation.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
vnode.c AFS: drop explicit extern 2007-07-16 09:05:43 -07:00
volume.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
write.c AFS: Fix afs_prepare_write() 2007-05-16 21:19:15 -07:00