linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/md: replace bitmap_destroy to md_bitmap_destroy
@ 2021-11-15  3:31 Bernard Zhao
  0 siblings, 0 replies; only message in thread
From: Bernard Zhao @ 2021-11-15  3:31 UTC (permalink / raw)
  To: Song Liu, linux-raid, linux-kernel; +Cc: Bernard Zhao

There is no bitmap_destroy function, the right function is
md_bitmap_destroy.

Signed-off-by: Bernard Zhao <bernard@vivo.com>
---
 drivers/md/md-bitmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/md/md-bitmap.c b/drivers/md/md-bitmap.c
index bfd6026d7809..4a6199a28294 100644
--- a/drivers/md/md-bitmap.c
+++ b/drivers/md/md-bitmap.c
@@ -1804,7 +1804,7 @@ void md_bitmap_destroy(struct mddev *mddev)
 
 /*
  * initialize the bitmap structure
- * if this returns an error, bitmap_destroy must be called to do clean up
+ * if this returns an error, md_bitmap_destroy must be called to do clean up
  * once mddev->bitmap is set
  */
 struct bitmap *md_bitmap_create(struct mddev *mddev, int slot)
-- 
2.33.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-15  3:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-15  3:31 [PATCH] drivers/md: replace bitmap_destroy to md_bitmap_destroy Bernard Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).