diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-22 19:44:18 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-22 19:44:18 -0400 |
| commit | 81cbf6d0555d77b2a4235c03f24167e2d792ccf5 (patch) | |
| tree | 8731a6d387158445ff3590e48842b7c097e0dcd6 | |
| parent | 3c3301083e3bea4d14c597106c7b20b4b85fc03d (diff) | |
| parent | 023d43c7b5a23a81fe8afa9f37296f8ed4be11fb (diff) | |
Merge branch 'lockdep-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/peterz/linux-2.6-lockdep
* 'lockdep-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/peterz/linux-2.6-lockdep:
lockdep: Fix lockdep annotation for pipe_double_lock()
| -rw-r--r-- | fs/pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -68,8 +68,8 @@ void pipe_double_lock(struct pipe_inode_info *pipe1, | |||
| 68 | pipe_lock_nested(pipe1, I_MUTEX_PARENT); | 68 | pipe_lock_nested(pipe1, I_MUTEX_PARENT); |
| 69 | pipe_lock_nested(pipe2, I_MUTEX_CHILD); | 69 | pipe_lock_nested(pipe2, I_MUTEX_CHILD); |
| 70 | } else { | 70 | } else { |
| 71 | pipe_lock_nested(pipe2, I_MUTEX_CHILD); | 71 | pipe_lock_nested(pipe2, I_MUTEX_PARENT); |
| 72 | pipe_lock_nested(pipe1, I_MUTEX_PARENT); | 72 | pipe_lock_nested(pipe1, I_MUTEX_CHILD); |
| 73 | } | 73 | } |
| 74 | } | 74 | } |
| 75 | 75 | ||
