Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177994
b: refs/heads/master
c: 6f5d511
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Dec 19, 2009
1 parent 4011817 commit bcab30c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 9b0fd1149747b117e7c3e9917fdea03b774ae3d0
refs/heads/master: 6f5d51148921c242680a7a1d9913384a30ab3cbe
4 changes: 2 additions & 2 deletions trunk/kernel/audit_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ static void untag_chunk(struct node *p)
owner->root = NULL;
}

for (i = j = 0; i < size; i++, j++) {
for (i = j = 0; j <= size; i++, j++) {
struct audit_tree *s;
if (&chunk->owners[j] == p) {
list_del_init(&p->list);
Expand All @@ -290,7 +290,7 @@ static void untag_chunk(struct node *p)
if (!s) /* result of earlier fallback */
continue;
get_tree(s);
list_replace_init(&chunk->owners[i].list, &new->owners[j].list);
list_replace_init(&chunk->owners[j].list, &new->owners[i].list);
}

list_replace_rcu(&chunk->hash, &new->hash);
Expand Down

0 comments on commit bcab30c

Please sign in to comment.