[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20211115033149.4583-1-bernard@vivo.com>
Date: Sun, 14 Nov 2021 19:31:48 -0800
From: Bernard Zhao <bernard@...o.com>
To: Song Liu <song@...nel.org>, linux-raid@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Bernard Zhao <bernard@...o.com>
Subject: [PATCH] drivers/md: replace bitmap_destroy to md_bitmap_destroy
There is no bitmap_destroy function, the right function is
md_bitmap_destroy.
Signed-off-by: Bernard Zhao <bernard@...o.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
Powered by blists - more mailing lists