Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96999
b: refs/heads/master
c: 6793a05
h: refs/heads/master
i:
  96997: 6998c42
  96995: 8d81018
  96991: bed64dd
v: v3
  • Loading branch information
Paul E. McKenney authored and Al Viro committed May 17, 2008
1 parent 8fc6272 commit bf4fcbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: fcaf1eb8685a00a99259e138e403841e984385b0
refs/heads/master: 6793a051fb9311f0f1ab7eafc5a9e69b8a1bd8d4
5 changes: 2 additions & 3 deletions trunk/kernel/audit_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,9 @@ static void insert_hash(struct audit_chunk *chunk)
struct audit_chunk *audit_tree_lookup(const struct inode *inode)
{
struct list_head *list = chunk_hash(inode);
struct list_head *pos;
struct audit_chunk *p;

list_for_each_rcu(pos, list) {
struct audit_chunk *p = container_of(pos, struct audit_chunk, hash);
list_for_each_entry_rcu(p, list, hash) {
if (p->watch.inode == inode) {
get_inotify_watch(&p->watch);
return p;
Expand Down

0 comments on commit bf4fcbf

Please sign in to comment.