summaryrefslogtreecommitdiffstats
path: root/include/blkdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/blkdev.h')
-rw-r--r--include/blkdev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/blkdev.h b/include/blkdev.h
index 6a641723f..3ce8111f6 100644
--- a/include/blkdev.h
+++ b/include/blkdev.h
@@ -95,4 +95,7 @@ int blkdev_get_sector_size(int fd, int *sector_size);
/* specifies whether or not the device is misaligned */
int blkdev_is_misaligned(int fd);
+/* get physical block device size */
+int blkdev_get_physector_size(int fd, int *sector_size);
+
#endif /* BLKDEV_H */