aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/namei.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 90210b46b461..125386c250bb 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2389,6 +2389,7 @@ static struct file *do_last(struct nameidata *nd, struct path *path,
2389 error = -ENOTDIR; 2389 error = -ENOTDIR;
2390 if ((nd->flags & LOOKUP_DIRECTORY) && !nd->inode->i_op->lookup) 2390 if ((nd->flags & LOOKUP_DIRECTORY) && !nd->inode->i_op->lookup)
2391 goto exit; 2391 goto exit;
2392 audit_inode(pathname, nd->path.dentry);
2392ok: 2393ok:
2393 if (!S_ISREG(nd->inode->i_mode)) 2394 if (!S_ISREG(nd->inode->i_mode))
2394 will_truncate = 0; 2395 will_truncate = 0;