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>
This commit is contained in:
@@ -2149,7 +2149,6 @@ int is_subdir(struct dentry *new_dentry, struct dentry *old_dentry)
|
||||
int result;
|
||||
unsigned long seq;
|
||||
|
||||
/* FIXME: This is old behavior, needed? Please check callers. */
|
||||
if (new_dentry == old_dentry)
|
||||
return 1;
|
||||
|
||||
|
Reference in New Issue
Block a user