projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Staging: aten2011: fix up the get_uart_reg function
[linux-2.6]
/
block
/
ioctl.c
diff --git
a/block/ioctl.c
b/block/ioctl.c
index
d03985b
..
0f22e62
100644
(file)
--- a/
block/ioctl.c
+++ b/
block/ioctl.c
@@
-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 */