]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/notify/fanotify/fanotify_user.c
fsnotify: Add group pointer in fsnotify_init_mark()
[linux.git] / fs / notify / fanotify / fanotify_user.c
index 5a82bbb79f5529d82975456d6289c0b66229f8f5..d5775f054be717c4f1a6dd325b3713aea22a1246 100644 (file)
@@ -628,8 +628,8 @@ static struct fsnotify_mark *fanotify_add_new_mark(struct fsnotify_group *group,
        if (!mark)
                return ERR_PTR(-ENOMEM);
 
-       fsnotify_init_mark(mark, fanotify_free_mark);
-       ret = fsnotify_add_mark_locked(mark, group, inode, mnt, 0);
+       fsnotify_init_mark(mark, group, fanotify_free_mark);
+       ret = fsnotify_add_mark_locked(mark, inode, mnt, 0);
        if (ret) {
                fsnotify_put_mark(mark);
                return ERR_PTR(ret);