linux/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_cm.h
afs_fs.h AFS: implement file locking 2007-07-16 09:05:43 -07:00
afs_vl.h
afs.h AFS: implement file locking 2007-07-16 09:05:43 -07:00
cache.c
cache.h
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
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
netdevices.c
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
super.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
vlclient.c
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