Commit 81cbf6d0 authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'lockdep-for-linus' of...

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()
parents 3c330108 023d43c7
...@@ -68,8 +68,8 @@ void pipe_double_lock(struct pipe_inode_info *pipe1, ...@@ -68,8 +68,8 @@ void pipe_double_lock(struct pipe_inode_info *pipe1,
pipe_lock_nested(pipe1, I_MUTEX_PARENT); pipe_lock_nested(pipe1, I_MUTEX_PARENT);
pipe_lock_nested(pipe2, I_MUTEX_CHILD); pipe_lock_nested(pipe2, I_MUTEX_CHILD);
} else { } else {
pipe_lock_nested(pipe2, I_MUTEX_CHILD); pipe_lock_nested(pipe2, I_MUTEX_PARENT);
pipe_lock_nested(pipe1, I_MUTEX_PARENT); pipe_lock_nested(pipe1, I_MUTEX_CHILD);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment