On Tue, Sep 19, 2017 at 3:11 PM, Coly Li <[email protected]> wrote: > In bcache code, sysfs entries are created before all resources get > allocated, e.g. allocation thread of a cache set. > > There is posibility for NULL pointer deference if a resource is accessed > but which is not initialized yet. Indeed Jorg Bornschein catches one on > cache set allocation thread and gets a kernel oops. > Signed-off-by: Coly Li <[email protected]> > Reported-by: Jorg Bornschein <[email protected]> > Cc: Kent Overstreet <[email protected]> > Cc: [email protected]
Reviewed-by: Michael Lyle <[email protected]>
