Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142023
b: refs/heads/master
c: 318b6d3
h: refs/heads/master
i:
  142021: f5464c5
  142019: a254f95
  142015: ecf7718
v: v3
  • Loading branch information
Eric Paris authored and Al Viro committed Apr 5, 2009
1 parent 924bd46 commit ce9c7d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d208da89aabee8502debe842832ca0ab298d16d
refs/heads/master: 318b6d3d7ddbcad3d6867e630711b8a705d873d7
2 changes: 2 additions & 0 deletions trunk/kernel/audit_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ static int tag_chunk(struct inode *inode, struct audit_tree *tree)
mutex_lock(&inode->inotify_mutex);
if (inotify_clone_watch(&old->watch, &chunk->watch) < 0) {
mutex_unlock(&inode->inotify_mutex);
put_inotify_watch(&old->watch);
free_chunk(chunk);
return -ENOSPC;
}
Expand All @@ -394,6 +395,7 @@ static int tag_chunk(struct inode *inode, struct audit_tree *tree)
chunk->dead = 1;
inotify_evict_watch(&chunk->watch);
mutex_unlock(&inode->inotify_mutex);
put_inotify_watch(&old->watch);
put_inotify_watch(&chunk->watch);
return 0;
}
Expand Down

0 comments on commit ce9c7d1

Please sign in to comment.