diff options
author | Luis Chamberlain <[email protected]> | 2021-08-18 16:45:40 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-08-23 12:55:45 -0600 |
commit | 83cbce9574462c6b4eed6797bdaf18fae6859ab3 (patch) | |
tree | d0457ade896747cff5f3f2d660b2b445ef97c908 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 92e7755ebc69233e25a2d1b760aeff536dc4016b (diff) |
block: add error handling for device_add_disk / add_disk
Properly unwind on errors in device_add_disk. This is the initial work
as drivers are not converted yet, which will follow in separate patches.
Signed-off-by: Luis Chamberlain <[email protected]>
[hch: major rebase. All bugs are probably mine]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions