projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
in untag_chunk() we need to do alloc_chunk() a bit earlier
[linux-2.6-block.git]
/
kernel
/
audit_watch.c
diff --git
a/kernel/audit_watch.c
b/kernel/audit_watch.c
index f0c9b2e7542dfd5b2980164a2f5ccedbcd2bb0d1..d2e3c786646055e1bbf5442b7d68090dc02b5681 100644
(file)
--- a/
kernel/audit_watch.c
+++ b/
kernel/audit_watch.c
@@
-60,7
+60,7
@@
struct audit_parent {
};
/* fsnotify handle. */
};
/* fsnotify handle. */
-struct fsnotify_group *audit_watch_group;
+st
atic st
ruct fsnotify_group *audit_watch_group;
/* fsnotify events we care about. */
#define AUDIT_FS_WATCH (FS_MOVE | FS_CREATE | FS_DELETE | FS_DELETE_SELF |\
/* fsnotify events we care about. */
#define AUDIT_FS_WATCH (FS_MOVE | FS_CREATE | FS_DELETE | FS_DELETE_SELF |\
@@
-123,7
+123,7
@@
void audit_put_watch(struct audit_watch *watch)
}
}
}
}
-void audit_remove_watch(struct audit_watch *watch)
+
static
void audit_remove_watch(struct audit_watch *watch)
{
list_del(&watch->wlist);
audit_put_parent(watch->parent);
{
list_del(&watch->wlist);
audit_put_parent(watch->parent);