diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-17 20:12:06 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:58:19 -0400 |
commit | 1a3aedbce416dfdbd5d5ac14a0edbcf21a62ee50 (patch) | |
tree | 4cddb110b6890b9df554193ae24ca4c74f99dea1 /kernel/kthread.c | |
parent | 939a67fc4cbab8ca11c90da8a769d7e965d66a9b (diff) |
Audit: audit watch init should not be before fsnotify init
Audit watch init and fsnotify init both use subsys_initcall() but since the
audit watch code is linked in before the fsnotify code the audit watch code
would be using the fsnotify srcu struct before it was initialized. This
patch fixes that problem by moving audit watch init to device_initcall() so
it happens after fsnotify is ready.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Eric Paris <eparis@redhat.com>
Tested-by : Sachin Sant <sachinp@in.ibm.com>
Diffstat (limited to 'kernel/kthread.c')
0 files changed, 0 insertions, 0 deletions