aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/audit_watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/audit_watch.c')
-rw-r--r--kernel/audit_watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c
index 75ab53987ece..c44de0c4fc47 100644
--- a/kernel/audit_watch.c
+++ b/kernel/audit_watch.c
@@ -161,7 +161,7 @@ static struct audit_parent *audit_init_parent(struct nameidata *ndp)
161 161
162 fsnotify_init_mark(&parent->mark, audit_watch_free_mark); 162 fsnotify_init_mark(&parent->mark, audit_watch_free_mark);
163 parent->mark.mask = AUDIT_FS_WATCH; 163 parent->mark.mask = AUDIT_FS_WATCH;
164 ret = fsnotify_add_mark(&parent->mark, audit_watch_group, inode); 164 ret = fsnotify_add_mark(&parent->mark, audit_watch_group, inode, 0);
165 if (ret < 0) { 165 if (ret < 0) {
166 audit_free_parent(parent); 166 audit_free_parent(parent);
167 return ERR_PTR(ret); 167 return ERR_PTR(ret);