2.6.23-rc7-mm1: r/o mounts joke with lockdep

From: Alexey Dobriyan
Date: Mon Sep 24 2007 - 05:52:17 EST

static void lock_and_coalesce_cpu_mnt_writer_counts(void)
int cpu;
struct mnt_writer *cpu_writer;

for_each_possible_cpu(cpu) {
cpu_writer = &per_cpu(mnt_writers, cpu);
spin_lock_nested(&cpu_writer->lock, 42);

What the heck is going on? Given that MAX_LOCKDEP_SUBCLASSES is only 8,
this reliably turns off lockdep at boot.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/