From 08a45f2dcb771209b9b0bfd398a08a5351cf8b68 Mon Sep 17 00:00:00 2001 From: James Morris Date: Thu, 29 Jan 2009 11:55:02 +1100 Subject: [PATCH] --- yaml --- r: 132580 b: refs/heads/master c: 97422ab9ef45118cb7418d799dc69040f17108ce h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/security/selinux/hooks.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 65b4b7b4cd7c..fc1ff43ec367 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ef935b9136eeaa203f75bf0b4d6e398c29f44d27 +refs/heads/master: 97422ab9ef45118cb7418d799dc69040f17108ce diff --git a/trunk/security/selinux/hooks.c b/trunk/security/selinux/hooks.c index bdd483096b39..42aa8de5f590 100644 --- a/trunk/security/selinux/hooks.c +++ b/trunk/security/selinux/hooks.c @@ -2543,11 +2543,6 @@ static int selinux_mount(char *dev_name, static int selinux_umount(struct vfsmount *mnt, int flags) { const struct cred *cred = current_cred(); - int rc; - - rc = secondary_ops->sb_umount(mnt, flags); - if (rc) - return rc; return superblock_has_perm(cred, mnt->mnt_sb, FILESYSTEM__UNMOUNT, NULL);