All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V4 0/2] ublk_drv: make sure that correct flags(features) returned to userspace
@ 2022-07-22 10:38 Ming Lei
  2022-07-22 10:38 ` [PATCH V4 1/2] ublk_drv: fix error handling of ublk_add_dev Ming Lei
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ming Lei @ 2022-07-22 10:38 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, ZiyangZhang, Christoph Hellwig, Ming Lei

Hello Jens,

The 1st patch cleans ublk_add_dev a bit, meantime fix one potential
free un-allocated buffer issue.

The 2nd one makes sure that driver supported flags returned to
userspace, this way is important for maintaining compatibility.

V4:
- move UBLK_F_ALL out of uapi header, and change order of clearing
dev_info.flags as suggested by Chrisotph

V3:
- cleanup ublk_ctrl_add_dev by Christoph

V2:
- avoid double free device in case that char dev is failed to add


Christoph Hellwig (1):
  ublk_drv: fix error handling of ublk_add_dev

Ming Lei (1):
  ublk_drv: make sure that correct flags(features) returned to userspace

 drivers/block/ublk_drv.c      | 115 ++++++++++++++++++----------------
 include/uapi/linux/ublk_cmd.h |   7 ++-
 2 files changed, 65 insertions(+), 57 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-22 15:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22 10:38 [PATCH V4 0/2] ublk_drv: make sure that correct flags(features) returned to userspace Ming Lei
2022-07-22 10:38 ` [PATCH V4 1/2] ublk_drv: fix error handling of ublk_add_dev Ming Lei
2022-07-22 10:38 ` [PATCH V4 2/2] ublk_drv: make sure that correct flags(features) returned to userspace Ming Lei
2022-07-22 15:07   ` Christoph Hellwig
2022-07-22 15:23 ` [PATCH V4 0/2] " Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.