summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/context_mount.c
diff options
context:
space:
mode:
authorKarel Zak2010-11-26 14:33:29 +0100
committerKarel Zak2011-01-03 12:28:46 +0100
commit766af80be1c76bbae78bf86ce0ae757082bb92fa (patch)
tree88b95682bbd0fbe7c73833b39f70f74d111bb2eb /shlibs/mount/src/context_mount.c
parentlibmount: use better format for utab, improve bind mounts (diff)
downloadkernel-qcow2-util-linux-766af80be1c76bbae78bf86ce0ae757082bb92fa.tar.gz
kernel-qcow2-util-linux-766af80be1c76bbae78bf86ce0ae757082bb92fa.tar.xz
kernel-qcow2-util-linux-766af80be1c76bbae78bf86ce0ae757082bb92fa.zip
libmount: fix to work with btrfs subvolume user mounts
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shlibs/mount/src/context_mount.c b/shlibs/mount/src/context_mount.c
index cb681e0dd..fb593c3fd 100644
--- a/shlibs/mount/src/context_mount.c
+++ b/shlibs/mount/src/context_mount.c
@@ -126,7 +126,7 @@ done:
}
/*
- * Converts already evalulated and fixed options to the form that is comaptible
+ * Converts already evalulated and fixed options to the form that is compatible
* with /sbin/mount.<type> helpers.
*
* Retursn newly allocated string.
@@ -160,7 +160,7 @@ static int generate_helper_optstr(mnt_context *cxt, char **optstr)
*/
static int evaluate_permissions(mnt_context *cxt)
{
- unsigned long u_flags;
+ unsigned long u_flags = 0;
const char *srcpath;
assert(cxt);