Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Eric Paris <[email protected]> Tested-by : Sachin Sant <[email protected]>
- Loading branch information