From a2f17bb24ee7c3dd25639f78d5fd123161392e0c Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 20 Aug 2013 14:35:13 +0200 Subject: 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 --- libmount/src/libmount.sym | 1 + 1 file changed, 1 insertion(+) (limited to 'libmount/src/libmount.sym') diff --git a/libmount/src/libmount.sym b/libmount/src/libmount.sym index f9870e3c4..be140000b 100644 --- a/libmount/src/libmount.sym +++ b/libmount/src/libmount.sym @@ -269,6 +269,7 @@ global: mnt_table_get_intro_comment; mnt_table_get_trailing_comment; mnt_table_get_userdata; + mnt_table_is_empty; mnt_table_last_fs; mnt_table_replace_file; mnt_table_set_intro_comment; -- cgit v1.2.3-55-g7522