The patch titled lockdep: annotate pktcdvd natural device hierarchy has been added to the -mm tree. Its filename is lockdep-annotate-pktcdvd-natural-device-hierarchy.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: lockdep: annotate pktcdvd natural device hierarchy From: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> The pkt_*_dev functions operate on not-this-blockdevice, and that is sufficiently checked at setup time. As a result there is a natural hierarchy, which needs nesting annotations Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> Cc: Peter Osterlund <petero2@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/block/pktcdvd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/block/pktcdvd.c~lockdep-annotate-pktcdvd-natural-device-hierarchy drivers/block/pktcdvd.c --- a/drivers/block/pktcdvd.c~lockdep-annotate-pktcdvd-natural-device-hierarchy +++ a/drivers/block/pktcdvd.c @@ -2577,19 +2577,19 @@ static int pkt_ctl_ioctl(struct inode *i case PKT_CTRL_CMD_SETUP: if (!capable(CAP_SYS_ADMIN)) return -EPERM; - mutex_lock(&ctl_mutex); + mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); ret = pkt_setup_dev(&ctrl_cmd); mutex_unlock(&ctl_mutex); break; case PKT_CTRL_CMD_TEARDOWN: if (!capable(CAP_SYS_ADMIN)) return -EPERM; - mutex_lock(&ctl_mutex); + mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); ret = pkt_remove_dev(&ctrl_cmd); mutex_unlock(&ctl_mutex); break; case PKT_CTRL_CMD_STATUS: - mutex_lock(&ctl_mutex); + mutex_lock_nested(&ctl_mutex, SINGLE_DEPTH_NESTING); pkt_get_status(&ctrl_cmd); mutex_unlock(&ctl_mutex); break; _ Patches currently in -mm which might be from arjan@xxxxxxxxxxxxxxx are git-netdev-all.patch lockdep-fix-sk_dst_check-deadlock.patch lockdep-split-the-skb_queue_head_init-lock-class.patch lockdep-split-the-skb_queue_head_init-lock-class-tidy.patch sleazy-fpu-feature-x86_64-support.patch sleazy-fpu-feature-i386-support.patch make-prot_write-imply-prot_read.patch lockdep-annotate-pktcdvd-natural-device-hierarchy.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