aboutsummaryrefslogtreecommitdiff
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 d68bf4dc3bc..52b100311ec 100644
--- a/block/partitions/check.h
+++ b/block/partitions/check.h
@@ -22,6 +22,9 @@ struct parsed_partitions {
char *pp_buf;
};
+struct parsed_partitions *
+check_partition(struct gendisk *, struct block_device *);
+
static inline void *read_part_sector(struct parsed_partitions *state,
sector_t n, Sector *p)
{