diff options
author | Jiri Kosina <[email protected]> | 2013-01-15 20:12:37 +0100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-01-16 12:13:20 -0800 |
commit | e65b9ad222c280c031bc8d3642cc38dd3026fe06 (patch) | |
tree | e1156d88a4fb42d7623e0390469227b6e3f4202b /net/unix/af_unix.c | |
parent | 36e7a96ceb6e9d347d8bf3def689c315131edf10 (diff) |
lockdep, rwsem: fix down_write_nest_lock() if !CONFIG_DEBUG_LOCK_ALLOC
Commit 1b963c81b145 ("lockdep, rwsem: provide down_write_nest_lock()")
contains a bug in a codepath when CONFIG_DEBUG_LOCK_ALLOC is disabled,
which causes down_read() to be called instead of down_write() by mistake
on such configurations. Fix that.
Reported-and-tested-by: Andrew Clayton <[email protected]>
Reported-and-tested-by: Zlatko Calusic <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions