diff options
author | Karel Zak | 2010-06-21 22:47:48 +0200 |
---|---|---|
committer | Karel Zak | 2011-01-03 12:28:39 +0100 |
commit | 911238af459a224a24d6a7e11222e0788afd99fa (patch) | |
tree | 24748cc58f740e80f51d2f6dace45d617c40be68 /shlibs/mount/src/mountP.h | |
parent | libmount: add mnt_tab_set_parser_errcb() (diff) | |
download | kernel-qcow2-util-linux-911238af459a224a24d6a7e11222e0788afd99fa.tar.gz kernel-qcow2-util-linux-911238af459a224a24d6a7e11222e0788afd99fa.tar.xz kernel-qcow2-util-linux-911238af459a224a24d6a7e11222e0788afd99fa.zip |
libmount: remove mnt_tab_strerr()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/mountP.h')
-rw-r--r-- | shlibs/mount/src/mountP.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/shlibs/mount/src/mountP.h b/shlibs/mount/src/mountP.h index 63997544b..16f66cb4a 100644 --- a/shlibs/mount/src/mountP.h +++ b/shlibs/mount/src/mountP.h @@ -142,7 +142,6 @@ struct _mnt_fs { int passno; /* fstab[6]: pass number on parallel fsck */ int flags; /* MNT_FS_* flags */ - int lineno; /* line number in the parental file */ void *userdata; /* library independent data */ }; @@ -150,9 +149,8 @@ struct _mnt_fs { /* * fs flags */ -#define MNT_FS_ERROR (1 << 1) /* broken entry */ -#define MNT_FS_PSEUDO (1 << 2) /* pseudo filesystem */ -#define MNT_FS_NET (1 << 3) /* network filesystem */ +#define MNT_FS_PSEUDO (1 << 1) /* pseudo filesystem */ +#define MNT_FS_NET (1 << 2) /* network filesystem */ /* * File format @@ -168,10 +166,7 @@ enum { struct _mnt_tab { char *filename; /* file name or NULL */ int fmt; /* MNT_FMT_* file format */ - - int nlines; /* number of lines in the file (include commentrys) */ int nents; /* number of valid entries */ - int nerrs; /* number of broken entries (parse errors) */ mnt_cache *cache; /* canonicalized paths/tags cache */ |