diff options
author | Karel Zak | 2010-11-26 14:33:29 +0100 |
---|---|---|
committer | Karel Zak | 2011-01-03 12:28:46 +0100 |
commit | 766af80be1c76bbae78bf86ce0ae757082bb92fa (patch) | |
tree | 88b95682bbd0fbe7c73833b39f70f74d111bb2eb /shlibs/mount/src/context_mount.c | |
parent | libmount: use better format for utab, improve bind mounts (diff) | |
download | kernel-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.c | 4 |
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); |