On Tue, 2008-07-22 at 14:04 -0400, David Woodhouse wrote: > On Tue, 2008-07-22 at 10:42 -0700, Zach Brown wrote: > > David Woodhouse wrote: > > > On Tue, 2008-07-22 at 13:03 -0400, Chris Mason wrote: > > >> Well, the test is there to make sure the caller is doing the right > > >> thing. Before we remove it, I'd like to understand why it is failing. > > > > > > Because this is a uniprocessor kernel. So spin_lock() and spin_unlock() > > > both do absolutely nothing, and spin_trylock() _always_ returns 1. > > > > How about using assert_spin_locked()? > > Yeah, that should work if we still need these checks. > This one is applied now and pushed out. -chris -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
