On Fri, Jul 1, 2022 at 5:49 PM Imran Khan <imran.f.khan@xxxxxxxxxx> wrote: ... > + if (kn->attr.notify_next.next != NULL) { Isn't there a helper to get next pointer from an llist pointer? > + kernfs_get(kn); > + llist_add(&kn->attr.notify_next, &kernfs_notify_list); > + schedule_work(&kernfs_notify_work); > + } -- With Best Regards, Andy Shevchenko