The patch titled block_dev.c mutex_lock_nested() fix has been added to the -mm tree. Its filename is block_devc-mutex_lock_nested-fix.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: block_dev.c mutex_lock_nested() fix From: Jason Baron <jbaron@xxxxxxxxxx> In the case below we are locking the whole disk not a partition. This change simply brings the code in line with the piece above where when we are the 'first' opener, and we are a partition. Signed-off-by: Jason Baron <jbaron@xxxxxxxxxx> Acked-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/block_dev.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/block_dev.c~block_devc-mutex_lock_nested-fix fs/block_dev.c --- a/fs/block_dev.c~block_devc-mutex_lock_nested-fix +++ a/fs/block_dev.c @@ -1032,7 +1032,7 @@ do_open(struct block_device *bdev, struc rescan_partitions(bdev->bd_disk, bdev); } else { mutex_lock_nested(&bdev->bd_contains->bd_mutex, - BD_MUTEX_PARTITION); + BD_MUTEX_WHOLE); bdev->bd_contains->bd_part_count++; mutex_unlock(&bdev->bd_contains->bd_mutex); } _ Patches currently in -mm which might be from jbaron@xxxxxxxxxx are make-prot_write-imply-prot_read.patch block_devc-mutex_lock_nested-fix.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