diff options
| author | Christoph Hellwig <[email protected]> | 2020-05-04 12:47:56 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-05-09 22:07:57 +0000 |
| commit | 6bd87eec23cbc9ed222bed0f5b5b02bf300e9a8d (patch) | |
| tree | 27ebe54b5fbc4083760df21ddd65d6d3ecc17dbd /Documentation/filesystems/caching/backend-api.rst | |
| parent | bdi: use bdi_dev_name() to get device name (diff) | |
| download | kernel-6bd87eec23cbc9ed222bed0f5b5b02bf300e9a8d.tar.gz kernel-6bd87eec23cbc9ed222bed0f5b5b02bf300e9a8d.zip | |
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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/backend-api.rst')
0 files changed, 0 insertions, 0 deletions
