diff options
author | Karel Zak | 2011-01-10 14:29:51 +0100 |
---|---|---|
committer | Karel Zak | 2011-01-10 14:29:51 +0100 |
commit | c59cf20c1be6d78f4e9ef404f5c5f2d44d57df94 (patch) | |
tree | 35bd484b43e2139e62507e732ecc2f3dc0a36103 /shlibs/mount/src/context_mount.c | |
parent | mount: canonicalize paths in HAVE_LIBMOUNT_MOUNT code (diff) | |
download | kernel-qcow2-util-linux-c59cf20c1be6d78f4e9ef404f5c5f2d44d57df94.tar.gz kernel-qcow2-util-linux-c59cf20c1be6d78f4e9ef404f5c5f2d44d57df94.tar.xz kernel-qcow2-util-linux-c59cf20c1be6d78f4e9ef404f5c5f2d44d57df94.zip |
libmount: properly canonicalize source and target
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/context_mount.c')
-rw-r--r-- | shlibs/mount/src/context_mount.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shlibs/mount/src/context_mount.c b/shlibs/mount/src/context_mount.c index 574a8142f..5f6ba6966 100644 --- a/shlibs/mount/src/context_mount.c +++ b/shlibs/mount/src/context_mount.c @@ -454,6 +454,8 @@ int mnt_context_do_mount(mnt_context *cxt) if (!rc) rc = mnt_context_prepare_srcpath(cxt); if (!rc) + rc = mnt_context_prepare_target(cxt); + if (!rc) rc = mnt_context_guess_fstype(cxt); if (!rc) rc = mnt_context_prepare_helper(cxt, "mount", NULL); |