aboutsummaryrefslogtreecommitdiff
path: root/Documentation/CodingStyle
diff options
context:
space:
mode:
authorChristoph Hellwig2020-05-04 14:47:56 +0200
committerJens Axboe2020-05-09 16:07:57 -0600
commit6bd87eec23cbc9ed222bed0f5b5b02bf300e9a8d (patch)
tree27ebe54b5fbc4083760df21ddd65d6d3ecc17dbd /Documentation/CodingStyle
parentd51cfc53ade3189455a1b88ec7a2ff0c24597cf8 (diff)
bdi: add a ->dev_name field to struct backing_dev_info
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: Jan Kara <jack@suse.cz> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/CodingStyle')
0 files changed, 0 insertions, 0 deletions