Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320963
b: refs/heads/master
c: 3134f37
h: refs/heads/master
i:
  320961: 49e49ba
  320959: 4e8b1e8
v: v3
  • Loading branch information
Jeff Layton authored and Al Viro committed Jul 29, 2012
1 parent 9259f2b commit 8fa5d5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0b5306b329a773b9fdd1d53bec6d08ce122d7b65
refs/heads/master: 3134f37e931d75931bdf6d4eacd82a3fd26eca7c
5 changes: 3 additions & 2 deletions trunk/fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -2608,9 +2608,10 @@ static int do_last(struct nameidata *nd, struct path *path,
}

/*
* It already exists.
* create/update audit record if it already exists.
*/
audit_inode(pathname, path->dentry);
if (path->dentry->d_inode)
audit_inode(pathname, path->dentry);

/*
* If atomic_open() acquired write access it is dropped now due to
Expand Down

0 comments on commit 8fa5d5b

Please sign in to comment.