diff options
Diffstat (limited to 'security/tomoyo/realpath.c')
| -rw-r--r-- | security/tomoyo/realpath.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/security/tomoyo/realpath.c b/security/tomoyo/realpath.c index 776146b68e57..f976358e6d4c 100644 --- a/security/tomoyo/realpath.c +++ b/security/tomoyo/realpath.c @@ -103,13 +103,9 @@ int tomoyo_realpath_from_path2(struct path *path, char *newname, ns_root.mnt = mntget(root.mnt->mnt_ns->root); if (ns_root.mnt) ns_root.dentry = dget(ns_root.mnt->mnt_root); - vfsmount_read_unlock(); - spin_lock(&dcache_lock); - vfsmount_read_lock(); tmp = ns_root; sp = __d_path(path, &tmp, newname, newname_len); vfsmount_read_unlock(); - spin_unlock(&dcache_lock); path_put(&root); path_put(&ns_root); /* Prepend "/proc" prefix if using internal proc vfs mount. */ |
