linux-IllusionX/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.c
auth_null.c
auth_unix.c
cache.c
clnt.c
Makefile
pmap_clnt.c
rpc_pipe.c [PATCH] lockdep: annotate sunrpc code 2006-07-03 15:27:08 -07:00
sched.c
socklib.c
stats.c
sunrpc_syms.c
svc.c [PATCH] knfsd: svcrpc: gss: server-side implementation of rpcsec_gss privacy 2006-06-30 11:25:41 -07:00
svcauth.c
svcauth_unix.c
svcsock.c
sysctl.c
timer.c
xdr.c
xprt.c
xprtsock.c