diff options
Diffstat (limited to 'include/linux/blk.h')
-rw-r--r-- | include/linux/blk.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/blk.h b/include/linux/blk.h index e0d904fc1..3974bc23b 100644 --- a/include/linux/blk.h +++ b/include/linux/blk.h @@ -85,12 +85,6 @@ void initrd_init(void); #endif -#define RO_IOCTLS(dev,where) \ - case BLKROSET: { int __val; if (!capable(CAP_SYS_ADMIN)) return -EACCES; \ - if (get_user(__val, (int *)(where))) return -EFAULT; \ - set_device_ro((dev),__val); return 0; } \ - case BLKROGET: { int __val = (is_read_only(dev) != 0) ; \ - return put_user(__val,(int *) (where)); } #if defined(MAJOR_NR) || defined(IDE_DRIVER) |