summaryrefslogtreecommitdiff
path: root/fs/namei.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2009-12-25 05:07:33 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2010-02-08 14:38:36 -0500
commitcccc6bba3f771ef29b33e4f79e70ebc3dba245b0 (patch)
tree0abfed21a68d0ae54217a6f4308046fd30a70186 /fs/namei.c
parent123df2944c436c80640c4281c5bc9c7950b18687 (diff)
downloadlinux-3.10-cccc6bba3f771ef29b33e4f79e70ebc3dba245b0.tar.gz
linux-3.10-cccc6bba3f771ef29b33e4f79e70ebc3dba245b0.tar.bz2
linux-3.10-cccc6bba3f771ef29b33e4f79e70ebc3dba245b0.zip
Lose the first argument of audit_inode_child()
it's always equal to ->d_name.name of the second argument Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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 f69df876fac..865282f8e01 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)
return -ENOENT;
BUG_ON(victim->d_parent->d_inode != dir);
- audit_inode_child(victim->d_name.name, victim, dir);
+ audit_inode_child(victim, dir);
error = inode_permission(dir, MAY_WRITE | MAY_EXEC);
if (error)