The patch titled new bd_mutex lockdep annotation has been removed from the -mm tree. Its filename was new-bd_mutex-lockdep-annotation.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: new bd_mutex lockdep annotation From: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> Use the gendisk partition number to set a lock class. Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> Cc: Neil Brown <neilb@xxxxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Acked-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> Cc: Jason Baron <jbaron@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/block_dev.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff -puN fs/block_dev.c~new-bd_mutex-lockdep-annotation fs/block_dev.c --- a/fs/block_dev.c~new-bd_mutex-lockdep-annotation +++ a/fs/block_dev.c @@ -355,10 +355,14 @@ static int bdev_set(struct inode *inode, static LIST_HEAD(all_bdevs); +static struct lock_class_key bdev_part_lock_key; + struct block_device *bdget(dev_t dev) { struct block_device *bdev; struct inode *inode; + struct gendisk *disk; + int part = 0; inode = iget5_locked(bd_mnt->mnt_sb, hash(dev), bdev_test, bdev_set, &dev); @@ -384,6 +388,11 @@ struct block_device *bdget(dev_t dev) list_add(&bdev->bd_list, &all_bdevs); spin_unlock(&bdev_lock); unlock_new_inode(inode); + mutex_init(&bdev->bd_mutex); + disk = get_gendisk(dev, &part); + if (part) + lockdep_set_class(&bdev->bd_mutex, &bdev_part_lock_key); + put_disk(disk); } return bdev; } _ Patches currently in -mm which might be from a.p.zijlstra@xxxxxxxxx are origin.patch new-bd_mutex-lockdep-annotation.patch remove-lock_key-approach-to-managing-nested-bd_mutex-locks.patch simplify-some-aspects-of-bd_mutex-nesting.patch use-mutex_lock_nested-for-bd_mutex-to-avoid-lockdep-warning.patch avoid-lockdep-warning-in-md.patch bdev-fix-bd_part_count-leak.patch lockdep-annotate-nfsd4-recover-code.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