[PATCH AUTOSEL 4.9 25/73] locking/lockdep: Fix merging of hlocks with non-zero references