[PATCH v3 0/2] md: simplify md_seq_ops

From: Yu Kuai
Date: Wed Sep 27 2023 - 02:19:17 EST


From: Yu Kuai <yukuai3@xxxxxxxxxx>

Changes in v3:
- rework patch 1, because the condition is confusing

Changes in v2:
- don't hold lock while show mddev in md_seq_show
- add patch 1
- add commit message

Yu Kuai (2):
md: factor out a helper from mddev_put()
md: simplify md_seq_ops

drivers/md/md.c | 129 +++++++++++++++---------------------------------
1 file changed, 39 insertions(+), 90 deletions(-)

--
2.39.2