diff options
| author | Arjan van de Ven <[email protected]> | 2006-07-03 00:25:16 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-07-03 15:27:08 -0700 |
| commit | c6573c2904231279de0584787d6214f19a128d0b (patch) | |
| tree | 6d751e87c8b069d10f9e199a0e1df791fd822b7d /scripts/patch-kernel | |
| parent | ad33945175bed649ca5fe0881269db005bbb449a (diff) | |
[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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Trond Myklebust <[email protected]>
Cc: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions