The patch titled lockdep: fix multi-depth (partitions inside an MD device) partitions has been removed from the -mm tree. Its filename is lockdep-annotate-blkdev-nesting-fix.patch This patch was dropped because it was folded into lockdep-annotate-blkdev-nesting.patch ------------------------------------------------------ Subject: lockdep: fix multi-depth (partitions inside an MD device) partitions From: Ingo Molnar <mingo@xxxxxxx> Fix multi-depth (partitions inside an MD device) partitions. (remove the WARN_ON()s as well. lockdep itself will detect it safely if we recurse deeper than MAX_LOCKDEP_SUBCLASSES.) Signed-off-by: Ingo Molnar <mingo@xxxxxxx> Cc: Neil Brown <neilb@xxxxxxxxxxxxxxx> Cc: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/block_dev.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff -puN fs/block_dev.c~lockdep-annotate-blkdev-nesting-fix fs/block_dev.c --- a/fs/block_dev.c~lockdep-annotate-blkdev-nesting-fix +++ a/fs/block_dev.c @@ -1099,9 +1099,8 @@ static int __blkdev_put(struct block_dev if (disk->fops->release) ret = disk->fops->release(bd_inode, NULL); } else { - WARN_ON(subclass != 0); mutex_lock_nested(&bdev->bd_contains->bd_mutex, - BD_MUTEX_PARTITION); + subclass + 1); bdev->bd_contains->bd_part_count--; mutex_unlock(&bdev->bd_contains->bd_mutex); } @@ -1117,10 +1116,8 @@ static int __blkdev_put(struct block_dev } bdev->bd_disk = NULL; bdev->bd_inode->i_data.backing_dev_info = &default_backing_dev_info; - if (bdev != bdev->bd_contains) { - WARN_ON(subclass != 0); - __blkdev_put(bdev->bd_contains, 1); - } + if (bdev != bdev->bd_contains) + __blkdev_put(bdev->bd_contains, subclass + 1); bdev->bd_contains = NULL; } unlock_kernel(); _ Patches currently in -mm which might be from mingo@xxxxxxx are origin.patch irq-flags-consolidate-flags-for-request_irq.patch irq-flags-alpha-use-the-new-irqf_-constansts.patch irq-flags-arm26-use-the-new-irqf_-constansts.patch irq-flags-arm-use-the-new-irqf_-constansts.patch irq-flags-chris-use-the-new-irqf_-constansts.patch irq-flags-frv-use-the-new-irqf_-constansts.patch irq-flags-h8300-use-the-new-irqf_-constansts.patch irq-flags-i386-use-the-new-irqf_-constansts.patch irq-flags-ia64-use-the-new-irqf_-constansts.patch irq-flags-m32r-use-the-new-irqf_-constansts.patch irq-flags-m68knommu-use-the-new-irqf_-constansts.patch irq-flags-m68k-use-the-new-irqf_-constansts.patch irq-flags-mips-use-the-new-irqf_-constansts.patch irq-flags-parisc-use-the-new-irqf_-constansts.patch irq-flags-powerpc-use-the-new-irqf_-constansts.patch irq-flags-ppc-use-the-new-irqf_-constansts.patch irq-flags-s390-use-the-new-irqf_-constansts.patch irq-flags-sh64-use-the-new-irqf_-constansts.patch irq-flags-sh-use-the-new-irqf_-constansts.patch irq-flags-sparc64-use-the-new-irqf_-constansts.patch irq-flags-sparc-use-the-new-irqf_-constansts.patch irq-flags-um-use-the-new-irqf_-constansts.patch irq-flags-v850-use-the-new-irqf_-constansts.patch irq-flags-x86_64-use-the-new-irqf_-constansts.patch irq-flags-xtensa-use-the-new-irqf_-constansts.patch irq-flags-generic-irq-use-the-new-irqf_-constansts.patch irq-flags-drivers-block-use-the-new-irqf_-constansts.patch irq-flags-drivers-char-use-the-new-irqf_-constansts.patch irq-flags-drivers-drm-use-the-new-irqf_-constansts.patch irq-flags-ide-use-the-new-irqf_-constansts.patch irq-flags-firewire-use-the-new-irqf_-constansts.patch irq-flags-isdn-use-the-new-irqf_-constansts.patch irq-flags-media-use-the-new-irqf_-constansts.patch irq-flags-misc-drivers-use-the-new-irqf_-constansts.patch irq-flags-drivers-net-use-the-new-irqf_-constansts.patch irq-flags-parisc-use-the-new-irqf_-constansts-2.patch irq-flags-pci-use-the-new-irqf_-constansts.patch irq-flags-rio-use-the-new-irqf_-constansts.patch irq-flags-scsi-use-the-new-irqf_-constansts.patch irq-flags-serial-use-the-new-irqf_-constansts.patch irq-flags-usb-use-the-new-irqf_-constansts.patch irq-flags-video-use-the-new-irqf_-constansts.patch irq-flags-sound-use-the-new-irqf_-constansts.patch irq-flags-documentation-use-the-new-irqf_-constansts.patch disable-debugging-version-of-write_lock.patch lock-validator-fix-ns83820c-irq-flags-bug.patch revert-gregkh-pci-pci-test-that-drivers-properly-call-pci_set_master.patch lockdep-floppyc-irq-release-fix.patch lockdep-console_init-after-local_irq_enable.patch lockdep-add-is_module_address.patch lockdep-add-print_ip_sym.patch lockdep-add-per_cpu_offset.patch lockdep-add-disable-enable_irq_lockdep-api.patch lockdep-add-local_irq_enable_in_hardirq-api.patch lockdep-add-declare_completion_onstack-api.patch lockdep-clean-up-rwsems.patch lockdep-remove-rwsem_debug-remnants.patch lockdep-rename-debug_warn_on.patch lockdep-remove-debug_bug_on.patch lockdep-remove-mutex-deadlock-checking-code.patch lockdep-better-lock-debugging.patch lockdep-mutex-section-binutils-workaround.patch lockdep-locking-init-debugging-improvement.patch lockdep-beautify-x86_64-stacktraces.patch lockdep-x86_64-document-stack-frame-internals.patch lockdep-i386-remove-multi-entry-backtraces.patch lockdep-stacktrace-subsystem-core.patch lockdep-s390-config_frame_pointer-support.patch lockdep-stacktrace-subsystem-i386-support.patch lockdep-stacktrace-subsystem-x86_64-support.patch lockdep-stacktrace-subsystem-s390-support.patch lockdep-irqtrace-subsystem-core.patch lockdep-irqtrace-subsystem-docs.patch lockdep-irqtrace-subsystem-i386-support.patch lockdep-irqtrace-cleanup-of-include-asm-i386-irqflagsh.patch lockdep-irqtrace-subsystem-x86_64-support.patch lockdep-irqtrace-cleanup-of-include-asm-x86_64-irqflagsh.patch lockdep-irqtrace-subsystem-s390-support.patch lockdep-locking-api-self-tests.patch lockdep-core.patch lockdep-design-docs.patch lockdep-procfs.patch lockdep-prove-rwsem-locking-correctness.patch lockdep-prove-spinlock-rwlock-locking-correctness.patch lockdep-prove-mutex-locking-correctness.patch lockdep-kconfig.patch lockdep-print-all-lock-classes-on-sysrq-d.patch lockdep-x86_64-early-init.patch lockdep-x86-smp-alternatives-workaround.patch lockdep-do-not-recurse-in-printk.patch lockdep-fix-rt_hash_lock_sz.patch lockdep-s390-turn-validator-off-in-machine-check-handler.patch lockdep-enable-on-i386.patch lockdep-enable-on-x86_64.patch lockdep-enable-on-s390.patch lockdep-annotate-direct-io.patch lockdep-annotate-serial.patch lockdep-annotate-dcache.patch lockdep-annotate-i_mutex.patch lockdep-annotate-futex.patch lockdep-annotate-genirq.patch lockdep-annotate-waitqueues.patch lockdep-annotate-mm.patch lockdep-annotate-serio.patch lockdep-annotate-skb_queue_head_init.patch lockdep-annotate-timer-base-locks.patch lockdep-annotate-scheduler-runqueue-locks.patch lockdep-annotate-hrtimer-base-locks.patch lockdep-annotate-sock_lock_init.patch lockdep-annotate-af_unix-locking.patch lockdep-annotate-bh_lock_sock.patch lockdep-annotate-ieee1394-skb-queue-head-locking.patch lockdep-annotate-mmap_sem.patch lockdep-annotate-sunrpc-code.patch lockdep-annotate-ntfs-locking-rules.patch lockdep-annotate-the-quota-code.patch lockdep-annotate-usbfs.patch lockdep-annotate-sound-core-seq-seq_portsc.patch lockdep-annotate-sound-core-seq-seq_devicec.patch lockdep-annotate-8390c-disable_irq.patch lockdep-annotate-3c59xc-disable_irq.patch lockdep-annotate-forcedethc-disable_irq.patch lockdep-annotate-enable_in_hardirq.patch lockdep-annotate-on-stack-completions.patch lockdep-annotate-qeth-driver.patch lockdep-annotate-s_lock.patch lockdep-annotate-sb-s_umount.patch lockdep-annotate-slab-code.patch lockdep-annotate-blkdev-nesting.patch lockdep-annotate-blkdev-nesting-fix.patch lockdep-annotate-vlan-net-device-as-being-a-special-class.patch lockdep-annotate-on-stack-completions-mmc.patch lockdep-annotate-sk_locks.patch lockdep-annotate-sk_locks-fix.patch lockdep-annotate-hostap-netdev-xmit_lock.patch lockdep-irqtrace-subsystem-move-account_system_vtime-calls-into-kernel-softirqc.patch lockdep-special-s390-print_symbol-version.patch bcm43xx-netlink-deadlock-fix.patch sched-clean-up-fallout-of-recent-changes.patch sched-clean-up-fallout-of-recent-changes-fix.patch sched-clean-up-fallout-of-recent-changes-fix-fix-fix.patch sched-cleanup-remove-task_t-convert-to-struct-task_struct.patch sched-cleanup-convert-schedc-internal-typedefs-to-struct.patch sched-fix-bug-in-__migrate_task.patch small-kernel-schedc-cleanup.patch sched-group-cpu-power-setup-cleanup.patch x86-re-enable-generic-numa.patch sched-add-above-background-load-function.patch mm-implement-swap-prefetching.patch sched-cleanup-remove-task_t-convert-to-struct-task_struct-prefetch.patch genirq-convert-the-x86_64-architecture-to-irq-chips.patch genirq-convert-the-i386-architecture-to-irq-chips.patch genirq-irq-convert-the-move_irq-flag-from-a-32bit-word-to-a-single-bit.patch genirq-irq-add-moved_masked_irq.patch genirq-x86_64-irq-reenable-migrating-irqs-to-other-cpus.patch genirq-x86_64-irq-reenable-migrating-irqs-to-other-cpus-fix.patch genirq-msi-simplify-msi-enable-and-disable.patch genirq-msi-simplify-msi-enable-and-disable-fix.patch genirq-msi-make-the-msi-boolean-tests-return-either-0-or-1.patch genirq-msi-implement-helper-functions-read_msi_msg-and-write_msi_msg.patch genirq-msi-refactor-the-msi_ops.patch genirq-msi-simplify-the-msi-irq-limit-policy.patch genirq-irq-add-a-dynamic-irq-creation-api.patch genirq-ia64-irq-dynamic-irq-support.patch genirq-ia64-irq-dynamic-irq-support-fix.patch genirq-i386-irq-dynamic-irq-support.patch genirq-i386-irq-dynamic-irq-support-fix.patch genirq-x86_64-irq-dynamic-irq-support.patch genirq-msi-make-the-msi-code-irq-based-and-not-vector-based.patch genirq-x86_64-irq-move-msi-message-composition-into-io_apicc.patch genirq-i386-irq-move-msi-message-composition-into-io_apicc.patch genirq-msi-only-build-msi-apicc-on-ia64.patch genirq-x86_64-irq-remove-the-msi-assumption-that-irq-==-vector.patch genirq-i386-irq-remove-the-msi-assumption-that-irq-==-vector.patch genirq-i386-irq-remove-the-msi-assumption-that-irq-==-vector-fix.patch genirq-irq-remove-msi-hacks.patch genirq-irq-generalize-the-check-for-hardirq_bits.patch genirq-x86_64-irq-make-the-external-irq-handlers-report-their-vector-not-the-irq-number.patch genirq-x86_64-irq-make-vector_irq-per-cpu.patch genirq-x86_64-irq-kill-gsi_irq_sharing.patch genirq-x86_64-irq-kill-irq-compression.patch detect-atomic-counter-underflows.patch debug-shared-irqs.patch make-frame_pointer-default=y.patch mutex-subsystem-synchro-test-module.patch vdso-print-fatal-signals.patch vdso-improve-print_fatal_signals-support-by-adding-memory-maps.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html