summaryrefslogtreecommitdiffstats
path: root/block/partitions/check.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-09-16 06:45:36 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:54:06 +0100
commit94ea4158f1733e3b10cef067d535f504866e0c41 (patch)
tree75a4d0c646b29dd529baeb3250afc1deaf570a8e /block/partitions/check.h
parentmove fs/partitions to block/ (diff)
downloadlinux-94ea4158f1733e3b10cef067d535f504866e0c41.tar.xz
linux-94ea4158f1733e3b10cef067d535f504866e0c41.zip
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 {
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)
{