From: Karel Zak Date: Mon, 17 Oct 2011 11:27:21 +0000 (+0200) Subject: libmount: unable to umount nfs shares using the force option X-Git-Tag: v2.21-rc1~330 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff4c00f94a82addaa8b8ca67dec1ea7a5283ae5b;p=thirdparty%2Futil-linux.git libmount: unable to umount nfs shares using the force option Reported-by: Federico Simoncelli Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=745746 Signed-off-by: Karel Zak --- diff --git a/libmount/src/context_umount.c b/libmount/src/context_umount.c index e271845e2f..dc417e3e00 100644 --- a/libmount/src/context_umount.c +++ b/libmount/src/context_umount.c @@ -410,7 +410,7 @@ int mnt_context_umount_setopt(struct libmnt_context *cxt, int c, char *arg) rc = mnt_context_enable_lazy(cxt, TRUE); break; case 'f': - rc = mnt_context_enable_fake(cxt, TRUE); + rc = mnt_context_enable_force(cxt, TRUE); break; case 'v': rc = mnt_context_enable_verbose(cxt, TRUE);