diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-04-18 09:25:41 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-04-21 05:01:15 +0200 |
commit | 24b6f16ecf37f918a1934d590e9e71c100d6388f (patch) | |
tree | 14ea0e7f399c1608d0401e87655cc9332a3b9f33 /kernel | |
parent | Safer nfsd_cross_mnt() (diff) | |
download | linux-24b6f16ecf37f918a1934d590e9e71c100d6388f.tar.xz linux-24b6f16ecf37f918a1934d590e9e71c100d6388f.zip |
No need for crossing to mountpoint in audit_tag_tree()
is_under() will DTRT anyway. And yes, is_subdir() behaviour
is intentional.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/audit_tree.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/audit_tree.c b/kernel/audit_tree.c index 917ab9525568..6e7351739a82 100644 --- a/kernel/audit_tree.c +++ b/kernel/audit_tree.c @@ -734,9 +734,6 @@ int audit_tag_tree(char *old, char *new) dentry = dget(path.dentry); path_put(&path); - if (dentry == tagged->mnt_root && dentry == mnt->mnt_root) - follow_up(&mnt, &dentry); - list_add_tail(&list, &tagged->mnt_list); mutex_lock(&audit_filter_mutex); |