[0/2] block: loop: delete partitions after clearing & changing fd
mbox series

Message ID 20200707084552.3294693-1-ming.lei@redhat.com
Headers show
Series
  • block: loop: delete partitions after clearing & changing fd
Related show

Message

Ming Lei July 7, 2020, 8:45 a.m. UTC
Hi,

The 1st patch cleans up __loop_clr_fd a bit.

The 2nd patch fixes one issue which may make ghost partitions even
though after fd is cleared or changed.


Ming Lei (2):
  block: loop: share code of reread partitions
  block: loop: delete partitions after clearing & changing fd

 drivers/block/loop.c | 36 ++++++++++++++++++++----------------
 1 file changed, 20 insertions(+), 16 deletions(-)