All of lore.kernel.org
 help / color / mirror / Atom feed
* mtd locking fix and cleanups
@ 2021-08-23  7:33 Christoph Hellwig
  2021-08-23  7:33 ` [PATCH 1/8] mtd_blkdevs: don't hold del_mtd_blktrans_dev in blktrans_{open, release} Christoph Hellwig
                   ` (8 more replies)
  0 siblings, 9 replies; 18+ messages in thread
From: Christoph Hellwig @ 2021-08-23  7:33 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra
  Cc: Guenter Roeck, linux-mtd

Hi mtd maintainers,

the first series in this patch fixes a lock order reversal reported by
Guenter based on a recent commit, although from code inspection it should
have been around for much longer.

The rest is drive-by cleanups in the area that I noticed while trying to
understand the locking changes.  These are untested and need to be handled
with care!

Diffstat:
 ftl.c         |    2 -
 mtd_blkdevs.c |   60 ++++++----------------------------------------------------
 rfd_ftl.c     |    2 -
 3 files changed, 9 insertions(+), 55 deletions(-)

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2021-08-23  8:37 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-23  7:33 mtd locking fix and cleanups Christoph Hellwig
2021-08-23  7:33 ` [PATCH 1/8] mtd_blkdevs: don't hold del_mtd_blktrans_dev in blktrans_{open, release} Christoph Hellwig
2021-08-23  8:33   ` Miquel Raynal
2021-08-23  7:33 ` [PATCH 2/8] mtd_blkdevs: use lockdep_assert_held Christoph Hellwig
2021-08-23  8:33   ` Miquel Raynal
2021-08-23  7:33 ` [PATCH 3/8] mtd/ftl: don't cast away the type when calling add_mtd_blktrans_dev Christoph Hellwig
2021-08-23  8:33   ` Miquel Raynal
2021-08-23  7:33 ` [PATCH 4/8] mtd/rfd_ftl: " Christoph Hellwig
2021-08-23  8:33   ` Miquel Raynal
2021-08-23  7:33 ` [PATCH 5/8] mtd_blkdevs: simplify blktrans_dev_get Christoph Hellwig
2021-08-23  8:33   ` Miquel Raynal
2021-08-23  7:33 ` [PATCH 6/8] mtd_blkdevs: remove blktrans_ref_mutex Christoph Hellwig
2021-08-23  8:33   ` Miquel Raynal
2021-08-23  7:33 ` [PATCH 7/8] mtd_blkdevs: simplify blktrans_getgeo Christoph Hellwig
2021-08-23  8:33   ` Miquel Raynal
2021-08-23  7:33 ` [PATCH 8/8] mtd_blkdevs: simplify the refcounting in blktrans_{open, release} Christoph Hellwig
2021-08-23  8:33   ` Miquel Raynal
2021-08-23  8:30 ` mtd locking fix and cleanups Miquel Raynal

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.