Re: [PATCH] writeback: verify that underlying dev exists before getting its name

From: Tejun Heo
Date: Fri Sep 04 2015 - 12:47:39 EST


On Fri, Sep 04, 2015 at 12:45:18PM -0400, Sasha Levin wrote:
> We can't assume there is always an underlying device and must verify that
> as well. Otherwise, we'd deref a NULL ptr here.

Do you have backtrace of this happening? There's a bug in cleanup
path which causes oops (patch is being tested) and this may just be a
symptom of the same problem.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/