]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: check table membership before adding entry
authorTim Hildering <hilderingt@posteo.net>
Sun, 17 Feb 2019 23:01:18 +0000 (00:01 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 18 Feb 2019 10:50:52 +0000 (11:50 +0100)
commitbeb60dbd6feab18fc75c5405dc52f6dce6fa4934
treedf5673580c2c740de6290f2a4b6325b1ada79d6f
parent3de236340dbf8f7f6c771798497e500a4fb878e0
libmount: check table membership before adding entry

Added validation to function 'mnt_table_add_fs()' to check that added @fs
is not already a member of another table.

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/tab.c