]> git.ipfire.org Git - thirdparty/util-linux.git/commit - libmount/docs/libmount-sections.txt
libmount: add mnt_table_is_empty(), improve table list usage
authorKarel Zak <kzak@redhat.com>
Tue, 20 Aug 2013 12:35:13 +0000 (14:35 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 20 Aug 2013 12:35:13 +0000 (14:35 +0200)
commita2f17bb24ee7c3dd25639f78d5fd123161392e0c
tree1698c88363d887155b5054b8bfd1076dee3fe7c0
parentc643ad4d814f081aae19fd82acc1dd1a2aaf840d
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>
libmount/docs/libmount-sections.txt
libmount/src/libmount.h.in
libmount/src/libmount.sym
libmount/src/mountP.h
libmount/src/tab.c
sys-utils/swapon.c