diff options
| author | Dan Williams <[email protected]> | 2016-01-06 20:03:41 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2016-01-09 16:39:04 +0000 |
| commit | 20a308f09e0d29ce6f5a4114cc476a998d569bfb (patch) | |
| tree | 9a367827e11bb0960c975421a2579cb88db09e33 /lib/dma-debug.c | |
| parent | badblocks: rename badblocks_free to badblocks_exit (diff) | |
| download | kernel-20a308f09e0d29ce6f5a4114cc476a998d569bfb.tar.gz kernel-20a308f09e0d29ce6f5a4114cc476a998d569bfb.zip | |
block: clarify badblocks lifetime
The badblocks list attached to a gendisk is allocated by the driver
which equates to the driver owning the lifetime of the object. Do not
automatically free it in del_gendisk(). This is in preparation for
expanding the use of badblocks in libnvdimm drivers and introducing
devm_init_badblocks().
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
