···31113111 if (!class)31123112 class = look_up_lock_class(lock, 0);3113311331143114- if (DEBUG_LOCKS_WARN_ON(!class))31143114+ /*31153115+ * If look_up_lock_class() failed to find a class, we're trying31163116+ * to test if we hold a lock that has never yet been acquired.31173117+ * Clearly if the lock hasn't been acquired _ever_, we're not31183118+ * holding it either, so report failure.31193119+ */31203120+ if (!class)31153121 return 0;3116312231173123 if (DEBUG_LOCKS_WARN_ON(!hlock->nest_lock))