]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - block/ioctl.c
Remove executable permission for dma.c
[linux-2.6-omap-h63xx.git] / block / ioctl.c
index d03985b04d6768bd0966c3c75f27b6a1336ede1b..0f22e629b13c8e93bf46401c0913605b5d2cbfba 100644 (file)
@@ -323,9 +323,7 @@ int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd,
                bdi = blk_get_backing_dev_info(bdev);
                if (bdi == NULL)
                        return -ENOTTY;
-               lock_kernel();
                bdi->ra_pages = (arg * 512) / PAGE_CACHE_SIZE;
-               unlock_kernel();
                return 0;
        case BLKBSZSET:
                /* set the logical block size */