Re: [PATCH] lockdep, rwsem: fix down_write_nest_lock() if !CONFIG_DEBUG_LOCK_ALLOC

From: Zlatko Calusic
Date: Tue Jan 15 2013 - 14:20:41 EST


On 15.01.2013 20:12, Jiri Kosina wrote:
Commit 1b963c81b1 ("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-by: Andrew Clayton <andrew@xxxxxxxxxxxxxxxxxx>
Reported-by: Zlatko Calusic <zlatko.calusic@xxxxxxxx>
Tested-by: Andrew Clayton <andrew@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>

Reported-and-tested-by: Zlatko Calusic <zlatko.calusic@xxxxxxxx>

kvm starts just fine now. Thanks Jiri!

--
Zlatko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/