summaryrefslogtreecommitdiffstats
path: root/libmount/docs
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/docs
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/docs')
-rw-r--r--libmount/docs/libmount-sections.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/docs/libmount-sections.txt b/libmount/docs/libmount-sections.txt
index d5083216e..f7004fcd4 100644
--- a/libmount/docs/libmount-sections.txt
+++ b/libmount/docs/libmount-sections.txt
@@ -303,6 +303,7 @@ mnt_table_get_nents
mnt_table_get_root_fs
mnt_table_get_trailing_comment
mnt_table_get_userdata
+mnt_table_is_empty
mnt_table_is_fs_mounted
mnt_table_last_fs
mnt_table_next_child_fs