summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-09-13 18:47:30 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-13 18:47:30 +0200
commit5d54e69c68c05b162a56f9914cae72afd7e6f40a (patch)
treec5933858c4861bc3e358559f64ef459a1f56ab75 /fs/namei.c
parentMerge master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa-current (diff)
parentFix build failure on ppc64 without CONFIG_AUDIT (diff)
downloadlinux-5d54e69c68c05b162a56f9914cae72afd7e6f40a.tar.xz
linux-5d54e69c68c05b162a56f9914cae72afd7e6f40a.zip
Merge master.kernel.org:/pub/scm/linux/kernel/git/dwmw2/audit-2.6
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 21d85f1ac839..043d587216b5 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1048,7 +1048,7 @@ int fastcall path_lookup(const char *name, unsigned int flags, struct nameidata
out:
if (unlikely(current->audit_context
&& nd && nd->dentry && nd->dentry->d_inode))
- audit_inode(name, nd->dentry->d_inode);
+ audit_inode(name, nd->dentry->d_inode, flags);
return retval;
}