summaryrefslogtreecommitdiff
path: root/block/partitions/aix.h
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>2013-07-09 03:01:29 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 21:33:28 +0400
commit6ceea22bbbc84fcf6bf0913bb3db8a657e9002f6 (patch)
treee1ed4bb79429f1191931091dd8311a5067acdfcb /block/partitions/aix.h
parent1d04f3c6ab6bbdc6187ba44b8a667a785b63c4f2 (diff)
downloadlinux-6ceea22bbbc84fcf6bf0913bb3db8a657e9002f6.tar.xz
partitions: add aix lvm partition support files
Add partitions/aix.h and partitions/aix.c. AIX LVM permits to make "logical volumes" which are made of multiple slices of multiple disks. The new code allows only access to the "logical volumes" which are made of one slice on the probed disk, a slice being a contiguous disk area. The code also detects "logical volumes" made of multiple slices on the probed disk, but can not describe them to the partition layer, because the partition layer generic code does not support that. When such non-contiguous "logical volumes" are detected, a diagnostic message is printed. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Philippe De Muyter <phdm@macqel.be> Cc: Karel Zak <kzak@redhat.com> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/partitions/aix.h')
-rw-r--r--block/partitions/aix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/partitions/aix.h b/block/partitions/aix.h
new file mode 100644
index 000000000000..e0c66a987523
--- /dev/null
+++ b/block/partitions/aix.h
@@ -0,0 +1 @@
+extern int aix_partition(struct parsed_partitions *state);