]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: create a default lock for mtab update
authorKarel Zak <kzak@redhat.com>
Mon, 28 Mar 2011 10:40:24 +0000 (12:40 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 28 Mar 2011 10:40:24 +0000 (12:40 +0200)
commitc570f567eb4ab90e9d28853da48d1600782d0b19
treee6a5bf16b4410a8078de4c7696425d8e1c7e8a06
parentcc3c3fdd29719883605687fc0d11391386ab46c6
libmount: create a default lock for mtab update

Now it's necessary to explicitly create a lock for mnt_update_table().
It seems better to create the lock in mnt_update_table() by default to
skip this extra step.

Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
shlibs/mount/src/tab_update.c