Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69bfd470 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull fsnotify fix from Jan Kara:
 "A fix of a fsnotify race causing panics / softlockups"

* tag 'for_v4.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
  fsnotify: Fix fsnotify_mark_connector race
parents 3442097b d90a10e2
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -217,12 +217,10 @@ struct fsnotify_mark_connector {
	union {	/* Object pointer [lock] */
		struct inode *inode;
		struct vfsmount *mnt;
	};
	union {
		struct hlist_head list;
		/* Used listing heads to free after srcu period expires */
		struct fsnotify_mark_connector *destroy_next;
	};
	struct hlist_head list;
};

/*