mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bernard Zhao <bernard@vivo.com>
To: Song Liu <song@kernel.org>,
	linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Bernard Zhao <bernard@vivo.com>
Subject: [PATCH] drivers/md: replace bitmap_destroy to md_bitmap_destroy
Date: Sun, 14 Nov 2021 19:31:48 -0800	[thread overview]
Message-ID: <20211115033149.4583-1-bernard@vivo.com> (raw)

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


                 reply	other threads:[~2021-11-15  3:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211115033149.4583-1-bernard@vivo.com \
    --to=bernard@vivo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=song@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®