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 fa8df81ce8ca..56e9f0f7e761 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -1043,7 +1043,7 @@ int fastcall path_lookup(const char *name, unsigned int flags, struct nameidata | |||
1043 | out: | 1043 | out: |
1044 | if (unlikely(current->audit_context | 1044 | if (unlikely(current->audit_context |
1045 | && nd && nd->dentry && nd->dentry->d_inode)) | 1045 | && nd && nd->dentry && nd->dentry->d_inode)) |
1046 | audit_inode(name, nd->dentry->d_inode); | 1046 | audit_inode(name, nd->dentry->d_inode, flags); |
1047 | return retval; | 1047 | return retval; |
1048 | } | 1048 | } |
1049 | 1049 | ||