On Tue 20-09-16 18:59:35, Heiner Kallweit wrote: > I was also hit by the false BUG_ON in the first version of the change > and checked how to fix it. The current fix IMHO is overly complex. > > You could simply use assert_spin_locked(lock). It does exactly what > you want and it's even used in other places under fs/notify already. Bah, I was searching for something like this and I failed. Thanks for the pointer. I'll fix up the patch. Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html