summaryrefslogtreecommitdiff
path: root/include/linux/kernfs.h
diff options
context:
space:
mode:
authorImran Khan <imran.f.khan@oracle.com>2022-07-06 06:10:26 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-06 14:20:22 +0200
commit2fd26970cf66bd52dc42843c46968040caa8c9a1 (patch)
tree3a0a880657d3bd4fd841475b2ed83d5d1d250c5f /include/linux/kernfs.h
parent72b5d5aef246a0387cefa23121dd90901c7a691a (diff)
Revert "kernfs: Change kernfs_notify_list to llist."
This reverts commit b8f35fa1188b84035c59d4842826c4e93a1b1c9f. This is causing regression due to same kernfs_node getting added multiple times in kernfs_notify_list so revert it until safe way of using llist in this context is found. Reported-by: Nathan Chancellor <nathan@kernel.org> Reported-by: Michael Walle <michael@walle.cc> Reported-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Imran Khan <imran.f.khan@oracle.com> Cc: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/20220705201026.2487665-1-imran.f.khan@oracle.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/kernfs.h')
-rw-r--r--include/linux/kernfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kernfs.h b/include/linux/kernfs.h
index 13e703f615f7..367044d7708c 100644
--- a/include/linux/kernfs.h
+++ b/include/linux/kernfs.h
@@ -173,7 +173,7 @@ struct kernfs_elem_attr {
const struct kernfs_ops *ops;
struct kernfs_open_node __rcu *open;
loff_t size;
- struct llist_node notify_next; /* for kernfs_notify() */
+ struct kernfs_node *notify_next; /* for kernfs_notify() */
};
/*