Revert "block: Expose IOCTL to get partition start sector number"
This reverts commit e959c1ce82.
Sector information is identified by other means so this change
is not needed.
Change-Id: Ib9cd450085b22468853b5a4955f8760d67af51b1
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
This commit is contained in:
parent
fdfdd15762
commit
bd50050aec
2 changed files with 0 additions and 3 deletions
|
|
@ -564,8 +564,6 @@ int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd,
|
|||
if ((size >> 9) > ~0UL)
|
||||
return -EFBIG;
|
||||
return put_ulong(arg, size >> 9);
|
||||
case BLKGETSTPART:
|
||||
return put_ulong(arg, bdev->bd_part->start_sect);
|
||||
case BLKGETSIZE64:
|
||||
return put_u64(arg, i_size_read(bdev->bd_inode));
|
||||
case BLKTRACESTART:
|
||||
|
|
|
|||
|
|
@ -226,7 +226,6 @@ struct fsxattr {
|
|||
#define BLKSECDISCARD _IO(0x12,125)
|
||||
#define BLKROTATIONAL _IO(0x12,126)
|
||||
#define BLKZEROOUT _IO(0x12,127)
|
||||
#define BLKGETSTPART _IO(0x12, 128)
|
||||
|
||||
#define BMAP_IOCTL 1 /* obsolete - kept for compatibility */
|
||||
#define FIBMAP _IO(0x00,1) /* bmap access */
|
||||
|
|
|
|||
Loading…
Reference in a new issue