[PATCH 00/10] block: first batch of add_disk() error handling conversions

Luis Chamberlain posted 10 patches 2 years, 7 months ago
Failed in applying to current master (apply log)
drivers/block/brd.c           | 10 ++++++++--
drivers/block/xen-blkfront.c  |  8 +++++++-
drivers/block/zram/zram_drv.c |  6 +++++-
drivers/md/bcache/super.c     | 17 ++++++++++++-----
drivers/nvdimm/blk.c          | 21 +++++++++++++++------
drivers/nvdimm/btt.c          | 24 +++++++++++++++---------
drivers/nvme/host/multipath.c | 10 +++++++---
7 files changed, 69 insertions(+), 27 deletions(-)
[PATCH 00/10] block: first batch of add_disk() error handling conversions
Posted by Luis Chamberlain 2 years, 7 months ago
This is my second batch of driver conversions to use add_disk() error
handling. Please review and let me know if you spot any issues. This is
part of a larger effort to covert all drivers over to use the new
add_disk() error handling. The entire work can be found on my branch
dedicated for this work [0]

[0] https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/log/?h=20210827-for-axboe-add-disk-error-handling-next-2nd

Luis Chamberlain (10):
  block/brd: add error handling support for add_disk()
  bcache: add error handling support for add_disk()
  nvme-multipath: add error handling support for add_disk()
  nvdimm/btt: do not call del_gendisk() if not needed
  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()
  xen-blkfront: add error handling support for add_disk()
  zram: add error handling support for add_disk()

 drivers/block/brd.c           | 10 ++++++++--
 drivers/block/xen-blkfront.c  |  8 +++++++-
 drivers/block/zram/zram_drv.c |  6 +++++-
 drivers/md/bcache/super.c     | 17 ++++++++++++-----
 drivers/nvdimm/blk.c          | 21 +++++++++++++++------
 drivers/nvdimm/btt.c          | 24 +++++++++++++++---------
 drivers/nvme/host/multipath.c | 10 +++++++---
 7 files changed, 69 insertions(+), 27 deletions(-)

-- 
2.30.2


Re: [PATCH 00/10] block: first batch of add_disk() error handling conversions
Posted by Luis Chamberlain 2 years, 7 months ago
Botched the subject. Sorry. this is the *second* batch :)

  Luis