]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: do not call umount helper on --fake
authorKarel Zak <kzak@redhat.com>
Wed, 3 Jun 2015 08:59:35 +0000 (10:59 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 3 Jun 2015 09:02:25 +0000 (11:02 +0200)
commit28cdf9c61206034b733bf5dcbdea179b8238271f
treec11eb1049337e1dcc3084e226e2a2f691a1b11bd
parent6d9b1c19eabff1b1a42f1e8e75695f3278c6bceb
libmount: do not call umount helper on --fake

The umount.<type> helpers does not support --fake option and it does
not make sense to call the helpers at all. All we need is to remove
mtab/utab entries.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1172297
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context.c
libmount/src/context_umount.c
sys-utils/umount.8