summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 15:14:27 -0400
committerJames Morris <jmorris@namei.org>2010-04-12 12:18:30 +1000
commit4b61d12c84293ac061909f27f567c1905e4d90e3 (patch)
treedfab10311d1b6be7667600307c72379c6779d32d /fs
parent231923bd0e06cba69f7c2028f4a68602b8d22160 (diff)
downloadop-kernel-dev-4b61d12c84293ac061909f27f567c1905e4d90e3.zip
op-kernel-dev-4b61d12c84293ac061909f27f567c1905e4d90e3.tar.gz
security: remove dead hook sb_umount_busy
Unused hook. Remove. Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/namespace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index 8aea78c..6c9ca73 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1116,8 +1116,6 @@ static int do_umount(struct vfsmount *mnt, int flags)
retval = 0;
}
spin_unlock(&vfsmount_lock);
- if (retval)
- security_sb_umount_busy(mnt);
up_write(&namespace_sem);
release_mounts(&umount_list);
return retval;
OpenPOWER on IntegriCloud