diff options
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c index f04ce1142297..a7ad35c66807 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -2176,7 +2176,7 @@ static int may_delete(struct inode *dir,struct dentry *victim,int isdir) | |||
2176 | return -ENOENT; | 2176 | return -ENOENT; |
2177 | 2177 | ||
2178 | BUG_ON(victim->d_parent->d_inode != dir); | 2178 | BUG_ON(victim->d_parent->d_inode != dir); |
2179 | audit_inode_child(victim, dir); | 2179 | audit_inode_child(dir, victim); |
2180 | 2180 | ||
2181 | error = inode_permission(dir, MAY_WRITE | MAY_EXEC); | 2181 | error = inode_permission(dir, MAY_WRITE | MAY_EXEC); |
2182 | if (error) | 2182 | if (error) |