summaryrefslogtreecommitdiffstats
path: root/fdisks/fdiskbsdlabel.h
diff options
context:
space:
mode:
authorDavidlohr Bueso2012-07-08 23:40:27 +0200
committerKarel Zak2012-07-16 17:59:52 +0200
commitb8855c868fce518d5f7c0aafb63accf99506643c (patch)
tree37e8cdbf301804d37b0822cd05202dba24b70bf3 /fdisks/fdiskbsdlabel.h
parentbuild-sys: add -Werror to UL_WARN_ADD test (diff)
downloadkernel-qcow2-util-linux-b8855c868fce518d5f7c0aafb63accf99506643c.tar.gz
kernel-qcow2-util-linux-b8855c868fce518d5f7c0aafb63accf99506643c.tar.xz
kernel-qcow2-util-linux-b8855c868fce518d5f7c0aafb63accf99506643c.zip
fdisk: API: add label probing functionality
This patch sets the initial layout for label specific operations. A new fdisk_label structure is created that will hold all these ops, like new, delete, write and probe, among others. For now only probing is implemented. Once this design is established, a copy of the probed label will be copied to the main context structure, where calling the specific functions will save 'disklabel' checks. Debugging support is added as well. This patch passes regression tests and manually passes bsd, sun, dos and sgi labels probes. Reviewed-by: Petr Uzel <petr.uzel@suse.cz> Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Diffstat (limited to 'fdisks/fdiskbsdlabel.h')
-rw-r--r--fdisks/fdiskbsdlabel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fdisks/fdiskbsdlabel.h b/fdisks/fdiskbsdlabel.h
index 3a198fefc..ab6877eaa 100644
--- a/fdisks/fdiskbsdlabel.h
+++ b/fdisks/fdiskbsdlabel.h
@@ -239,7 +239,6 @@ static struct systypes xbsd_fstypes[] = {
#define BSD_D_DOSPART 0x20 /* within MSDOS partition */
extern void bsd_command_prompt(struct fdisk_context *cxt);
-extern int check_osf_label(struct fdisk_context *cxt);
extern int btrydev(struct fdisk_context *cxt);
extern void xbsd_print_disklabel(struct fdisk_context *cxt, int);