aboutsummaryrefslogtreecommitdiffstats
path: root/block/partitions/check.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-09-16 00:45:36 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:54:06 -0500
commit94ea4158f1733e3b10cef067d535f504866e0c41 (patch)
tree75a4d0c646b29dd529baeb3250afc1deaf570a8e /block/partitions/check.h
parent9be96f3fd10187f185d84cf878cf032465bcced3 (diff)
separate partition format handling from generic code
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block/partitions/check.h')
-rw-r--r--block/partitions/check.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/block/partitions/check.h b/block/partitions/check.h
index d68bf4dc3bc2..52b100311ec3 100644
--- a/block/partitions/check.h
+++ b/block/partitions/check.h
@@ -22,6 +22,9 @@ struct parsed_partitions {
22 char *pp_buf; 22 char *pp_buf;
23}; 23};
24 24
25struct parsed_partitions *
26check_partition(struct gendisk *, struct block_device *);
27
25static inline void *read_part_sector(struct parsed_partitions *state, 28static inline void *read_part_sector(struct parsed_partitions *state,
26 sector_t n, Sector *p) 29 sector_t n, Sector *p)
27{ 30{