]> 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>
Tue, 18 Oct 2011 12:22:28 +0000 (14:22 +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 bc08affc063456cf99cba89f3d30f3eb281b4638..5a09d6b6f9b6b33b6d94f8819aec1e335c766ef0 100644 (file)
@@ -416,7 +416,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);