Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd50050a authored by AnilKumar Chimata's avatar AnilKumar Chimata
Browse files

Revert "block: Expose IOCTL to get partition start sector number"



This reverts commit e959c1ce.
Sector information is identified by other means so this change
is not needed.

Change-Id: Ib9cd450085b22468853b5a4955f8760d67af51b1
Signed-off-by: default avatarAnilKumar Chimata <anilc@codeaurora.org>
parent fdfdd157
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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:
+0 −1
Original line number Diff line number Diff line
@@ -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 */