The patch titled Fix potential OOPs in blkdev_open() has been added to the -mm tree. Its filename is fix-potential-oops-in-blkdev_open.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Fix potential OOPs in blkdev_open() From: Pavel Emelianov <xemul@xxxxxxxxxx> blkdev_open() calls bc_acquire() to get a struct block_device. Since bc_acquire() may return NULL when system is out of memory an appropriate check is required. Signed-off-by: Pavel Emelianov <xemul@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/block_dev.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN fs/block_dev.c~fix-potential-oops-in-blkdev_open fs/block_dev.c --- a/fs/block_dev.c~fix-potential-oops-in-blkdev_open +++ a/fs/block_dev.c @@ -1018,6 +1018,8 @@ static int blkdev_open(struct inode * in filp->f_flags |= O_LARGEFILE; bdev = bd_acquire(inode); + if (bdev == NULL) + return -ENOMEM; res = do_open(bdev, filp, 0); if (res) _ Patches currently in -mm which might be from xemul@xxxxxxxxxx are fix-potential-oops-in-blkdev_open.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