summaryrefslogtreecommitdiffstats
path: root/libmount/src/context.c
diff options
context:
space:
mode:
authorKarel Zak2011-12-01 16:45:53 +0100
committerKarel Zak2011-12-01 16:45:53 +0100
commit085f163b52a7a2d9d5618b784e3c499f78833889 (patch)
tree73c1dbd257e8742092135993f68432f08a6a1977 /libmount/src/context.c
parentlibmount: improve verbose message (diff)
downloadkernel-qcow2-util-linux-085f163b52a7a2d9d5618b784e3c499f78833889.tar.gz
kernel-qcow2-util-linux-085f163b52a7a2d9d5618b784e3c499f78833889.tar.xz
kernel-qcow2-util-linux-085f163b52a7a2d9d5618b784e3c499f78833889.zip
libmount: add mnt_context_umount_next()
This is "umount -a" backend. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/context.c')
-rw-r--r--libmount/src/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/context.c b/libmount/src/context.c
index dadde5c89..e971003cb 100644
--- a/libmount/src/context.c
+++ b/libmount/src/context.c
@@ -1358,7 +1358,7 @@ int mnt_context_prepare_update(struct libmnt_context *cxt)
if (cxt->action == MNT_ACT_UMOUNT)
rc = mnt_update_set_fs(cxt->update, cxt->mountflags,
- mnt_fs_get_target(cxt->fs), NULL);
+ mnt_context_get_target(cxt), NULL);
else
rc = mnt_update_set_fs(cxt->update, cxt->mountflags,
NULL, cxt->fs);