The patch titled Remove unneded lock_kernel() in driver/block/loop.c has been added to the -mm tree. Its filename is remove-unneded-lock_kernel-in-driver-block-loopc.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Remove unneded lock_kernel() in driver/block/loop.c From: Diego Woitasen <diego@xxxxxxxxxxxxxxx> Signed-off-by: Diego Woitasen <diego@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/block/loop.c | 2 -- 1 files changed, 2 deletions(-) diff -puN drivers/block/loop.c~remove-unneded-lock_kernel-in-driver-block-loopc drivers/block/loop.c --- a/drivers/block/loop.c~remove-unneded-lock_kernel-in-driver-block-loopc +++ a/drivers/block/loop.c @@ -1285,7 +1285,6 @@ static long lo_compat_ioctl(struct file struct loop_device *lo = inode->i_bdev->bd_disk->private_data; int err; - lock_kernel(); switch(cmd) { case LOOP_SET_STATUS: mutex_lock(&lo->lo_ctl_mutex); @@ -1311,7 +1310,6 @@ static long lo_compat_ioctl(struct file err = -ENOIOCTLCMD; break; } - unlock_kernel(); return err; } #endif _ Patches currently in -mm which might be from diego@xxxxxxxxxxxxxxx are remove-unneded-lock_kernel-in-driver-block-loopc.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