block: Add BLKROTATIONAL ioctl
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 Jan 2012 15:29:31 +0000 (16:29 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 11 Jan 2012 15:29:31 +0000 (16:29 +0100)
commitef00f59c95fe6e002e7c6e3663cdea65e253f4cc
tree8e84273162b7a743767098cc08b6c6eb2b041281
parentb1bd055d397e09f99dcef9b138ed104ff1812fcb
block: Add BLKROTATIONAL ioctl

Introduce an ioctl which permits applications to query whether a block
device is rotational.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/compat_ioctl.c
block/ioctl.c
include/linux/fs.h