aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index f69df876fac3..865282f8e012 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1337,7 +1337,7 @@ static int may_delete(struct inode *dir,struct dentry *victim,int isdir)
1337 return -ENOENT; 1337 return -ENOENT;
1338 1338
1339 BUG_ON(victim->d_parent->d_inode != dir); 1339 BUG_ON(victim->d_parent->d_inode != dir);
1340 audit_inode_child(victim->d_name.name, victim, dir); 1340 audit_inode_child(victim, dir);
1341 1341
1342 error = inode_permission(dir, MAY_WRITE | MAY_EXEC); 1342 error = inode_permission(dir, MAY_WRITE | MAY_EXEC);
1343 if (error) 1343 if (error)