summaryrefslogtreecommitdiffstats
path: root/libmount/src/mountP.h
diff options
context:
space:
mode:
authorKarel Zak2013-08-20 14:35:13 +0200
committerKarel Zak2013-08-20 14:35:13 +0200
commita2f17bb24ee7c3dd25639f78d5fd123161392e0c (patch)
tree1698c88363d887155b5054b8bfd1076dee3fe7c0 /libmount/src/mountP.h
parentpylibmount: coding style changes, don't touch Context() status (diff)
downloadkernel-qcow2-util-linux-a2f17bb24ee7c3dd25639f78d5fd123161392e0c.tar.gz
kernel-qcow2-util-linux-a2f17bb24ee7c3dd25639f78d5fd123161392e0c.tar.xz
kernel-qcow2-util-linux-a2f17bb24ee7c3dd25639f78d5fd123161392e0c.zip
libmount: add mnt_table_is_empty(), improve table list usage
Currently you have to use mnt_table_remove_fs() + mnt_free_fs() to destroy the list in the table. This is complicated in same situations. This patch allows to use mnt_free_fs() only. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/mountP.h')
-rw-r--r--libmount/src/mountP.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libmount/src/mountP.h b/libmount/src/mountP.h
index 1ba7d5c48..61b872eda 100644
--- a/libmount/src/mountP.h
+++ b/libmount/src/mountP.h
@@ -266,7 +266,6 @@ struct libmnt_fs {
*/
struct libmnt_table {
int fmt; /* MNT_FMT_* file format */
- int nents; /* number of valid entries */
int comms; /* enable/disable comment parsing */
char *comm_intro; /* First comment in file */
char *comm_tail; /* Last comment in file */