Messages in this thread | | | Date | Thu, 16 Apr 2020 09:52:41 +0200 | From | Greg KH <> | Subject | Re: [PATCH 3/8] bdi: add a ->dev_name field to struct backing_dev_info |
| |
On Thu, Apr 16, 2020 at 09:15:14AM +0200, Christoph Hellwig wrote: > Cache a copy of the name for the life time of the backing_dev_info > structure so that we can reference it even after unregistering. > > Fixes: 68f23b89067f ("memcg: fix a crash in wb_workfn when a device disappears") > Reported-by: Yufen Yu <yuyufen@huawei.com> > Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| |