[PATCH v5 00/14] last set for add_disk() error handling

Luis Chamberlain
2021-11-03T23:05:07Z

Jens,

as requested, I've folded all pending changes into this series. This
v5 pegs on Christoph's reviewed-by tags and since I was respinning I
modified the ataprobe and floppy driver changes as he suggested.

I think this is it. The world of floppy has been exciting for v5.16.

This goes based on your axboe/for-next tree as of just a few minutes ago.

Luis Chamberlain (13):
nvdimm/btt: use goto error labels on btt_blk_init()
nvdimm/btt: add error handling support for add_disk()
nvdimm/blk: avoid calling del_gendisk() on early failures
nvdimm/blk: add error handling support for add_disk()
nvdimm/pmem: cleanup the disk if pmem_release_disk() is yet assigned
nvdimm/pmem: use add_disk() error handling
z2ram: add error handling support for add_disk()
block/sunvdc: add error handling support for add_disk()
mtd/ubi/block: add error handling support for add_disk()
block: update __register_blkdev() probe documentation
ataflop: address add_disk() error handling on probe
floppy: address add_disk() error handling on probe
block: add __must_check for *add_disk*() callers

Tetsuo Handa (1):
ataflop: remove ataflop_probe_lock mutex

block/genhd.c | 11 +++++---
drivers/block/ataflop.c | 61 +++++++++++++++++++++++++----------------
drivers/block/floppy.c | 17 +++++++++---
drivers/block/sunvdc.c | 14 ++++++++--
drivers/block/z2ram.c | 7 +++--
drivers/mtd/ubi/block.c | 8 +++++-
drivers/nvdimm/blk.c | 21 ++++++++++----
drivers/nvdimm/btt.c | 20 +++++++++-----
drivers/nvdimm/pmem.c | 21 ++++++++++----
include/linux/genhd.h | 6 ++--
10 files changed, 127 insertions(+), 59 deletions(-)

--
2.33.0