VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Amir Goldstein <amir73il@gmail.com> 2021-03-04 13:29:20 +0200 committer: Jan Kara <jack@suse.cz> 2021-03-16 16:49:31 +0100 commit: 5b8fea65d197f408bb00b251c70d842826d6b70b parent: b8cd0ee8cda68a888a317991c1e918a8cba1a568
Commit Summary:
fanotify: configurable limits via sysfs
Diffstat:
1 file changed, 0 insertions, 1 deletion
diff --git a/fs/notify/group.c b/fs/notify/group.c
index ffd723ffe46d..fb89c351295d 100644
--- a/fs/notify/group.c
+++ b/fs/notify/group.c
@@ -122,7 +122,6 @@ static struct fsnotify_group *__fsnotify_alloc_group(
 
 	/* set to 0 when there a no external references to this group */
 	refcount_set(&group->refcnt, 1);
-	atomic_set(&group->num_marks, 0);
 	atomic_set(&group->user_waits, 0);
 
 	spin_lock_init(&group->notification_lock);