commit | 696b84b30a31dcb2fb1383d5afe08abcc1597eab | [log] [tgz] |
---|---|---|
author | Karel Zak <kzak@redhat.com> | Wed Jul 20 21:24:20 2011 +0200 |
committer | Karel Zak <kzak@redhat.com> | Wed Jul 20 21:52:34 2011 +0200 |
tree | 46b50e919cac8e0dc266fa493d071247d6d8df2b | |
parent | 9f014a4f1c5c59fe5561a0398f979564e6bd92e0 [diff] |
libmount: fix mtab update for "none" source, fix leak tab_parse.c:mnt_parse_mountinfo_line parses "none" in src as NULL, tab_update.c:fprintf_mtab_fs sets m1 to NULL instead of "none" and returns -ENOMEM tab_update.c:update_table says "write entry failed: Success", as errno hasn't been set, and gotos to leave, leaving mtab not updated. Addresses-debian-bug: 634871 Reported-by: Tomas Janousek <tomi@nomi.cz> Signed-off-by: Karel Zak <kzak@redhat.com>