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. Rgds, Heiner -- 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