linux/net/sunrpc
Arjan van de Ven c6573c2904 [PATCH] lockdep: annotate sunrpc code
Add i_mutex ordering annotations to the sunrpc rpc_pipe code.  This code has 3
levels of i_mutex hierarchy in some cases: parent dir, client dir and file
inside client dir; the i_mutex ordering is I_MUTEX_PARENT -> I_MUTEX_CHILD ->
I_MUTEX_NORMAL

This patch applies this ordering annotation to the various functions.  This is
in line with the VFS expected ordering where it is always OK to lock a child
after locking a parent; the sunrpc code is very diligent in doing this
correctly.

Has no effect on non-lockdep kernels.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-03 15:27:08 -07:00
..
auth_gss [PATCH] knfsd: svcrpc: gss: server-side implementation of rpcsec_gss privacy 2006-06-30 11:25:41 -07:00
auth_null.c NFS: Display the chosen RPCSEC_GSS security flavour in /proc/mounts 2006-06-09 09:34:34 -04:00
auth_unix.c NFS: Display the chosen RPCSEC_GSS security flavour in /proc/mounts 2006-06-09 09:34:34 -04:00
auth.c SUNRPC: Auto-load RPC authentication kernel modules 2006-03-20 13:44:08 -05:00
cache.c [PATCH] knfsd: Fix two problems that can cause rmmod nfsd to die 2006-05-23 10:35:31 -07:00
clnt.c SUNRPC: Ensure rpc_call_async() always calls tk_ops->rpc_release() 2006-03-20 18:11:10 -05:00
Makefile [PATCH] RPC: introduce client-side transport switch 2005-09-23 12:38:12 -04:00
pmap_clnt.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
rpc_pipe.c [PATCH] lockdep: annotate sunrpc code 2006-07-03 15:27:08 -07:00
sched.c [PATCH] mempool: use mempool_create_slab_pool() 2006-03-26 08:57:00 -08:00
socklib.c [NET]: Detect hardware rx checksum faults correctly 2005-11-10 13:01:24 -08:00
stats.c NFS: make 2 functions static 2006-04-19 12:43:47 -04:00
sunrpc_syms.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
svc.c [PATCH] knfsd: svcrpc: gss: server-side implementation of rpcsec_gss privacy 2006-06-30 11:25:41 -07:00
svcauth_unix.c [PATCH] knfsd: Tidy up unix_domain_find 2006-03-27 08:44:43 -08:00
svcauth.c [PATCH] knfsd: Change the store of auth_domains to not be a 'cache' 2006-03-27 08:44:41 -08:00
svcsock.c [NET]: sem2mutex part 2 2006-03-20 22:35:41 -08:00
sysctl.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
timer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xdr.c RPC: Allow struc xdr_stream to read the page section of an xdr_buf 2006-06-09 09:34:21 -04:00
xprt.c SUNRPC: NFS_ROOT always uses the same XIDs 2006-06-09 09:34:06 -04:00
xprtsock.c SUNRPC: select privileged port numbers at random 2006-06-09 09:34:05 -04:00