提交 69bfd470 编写于 作者: L Linus Torvalds

Merge tag 'for_v4.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs

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
...@@ -217,12 +217,10 @@ struct fsnotify_mark_connector { ...@@ -217,12 +217,10 @@ struct fsnotify_mark_connector {
union { /* Object pointer [lock] */ union { /* Object pointer [lock] */
struct inode *inode; struct inode *inode;
struct vfsmount *mnt; struct vfsmount *mnt;
};
union {
struct hlist_head list;
/* Used listing heads to free after srcu period expires */ /* Used listing heads to free after srcu period expires */
struct fsnotify_mark_connector *destroy_next; struct fsnotify_mark_connector *destroy_next;
}; };
struct hlist_head list;
}; };
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册