]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: unable to umount nfs shares using the force option
authorKarel Zak <kzak@redhat.com>
Mon, 17 Oct 2011 11:27:21 +0000 (13:27 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Oct 2011 11:27:21 +0000 (13:27 +0200)
Reported-by: Federico Simoncelli <fsimonce@redhat.com>
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=745746
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context_umount.c

index e271845e2fd5154ebd9aa11e64ee9d176ca88154..dc417e3e00cb4d14057d956bf9d49e12927b368e 100644 (file)
@@ -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);