diff options
author | Karel Zak | 2013-09-27 10:06:09 +0200 |
---|---|---|
committer | Karel Zak | 2013-09-27 10:06:09 +0200 |
commit | c410f64734cb8a67e3396d924b4b475022c9494e (patch) | |
tree | 678db0cf44959dcb90659c9461d93a781164232f /libmount/src/context_mount.c | |
parent | docs: add v2.24-ReleaseNotes (diff) | |
download | kernel-qcow2-util-linux-c410f64734cb8a67e3396d924b4b475022c9494e.tar.gz kernel-qcow2-util-linux-c410f64734cb8a67e3396d924b4b475022c9494e.tar.xz kernel-qcow2-util-linux-c410f64734cb8a67e3396d924b4b475022c9494e.zip |
libmount: small cleanup in umount code
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/context_mount.c')
-rw-r--r-- | libmount/src/context_mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c index 41106fea0..967ec336a 100644 --- a/libmount/src/context_mount.c +++ b/libmount/src/context_mount.c @@ -362,7 +362,7 @@ static int evaluate_permissions(struct libmnt_context *cxt) /* * user mount */ - if (!(cxt->flags & MNT_FL_TAB_APPLIED)) + if (!mnt_context_tab_applied(cxt)) { DBG(CXT, mnt_debug_h(cxt, "perms: fstab not applied, ignore user mount")); return -EPERM; |