Linux-BTRFS Archive mirror
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: fdmanana@kernel.org, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] btrfs: fix misspelled end IO compression callbacks
Date: Tue, 14 May 2024 17:07:58 +0930	[thread overview]
Message-ID: <9974f3e7-ffc8-4fc1-a8d5-ab9b14fc14cb@gmx.com> (raw)
In-Reply-To: <4a9ef85f3ad20b4a423a695dc90c9fb028135faf.1715620538.git.fdmanana@suse.com>



在 2024/5/14 02:46, fdmanana@kernel.org 写道:
> From: Filipe Manana <fdmanana@suse.com>
>
> Fix typo in the end IO compression callbacks, from "comprssed" to
> "compression".
>
> Signed-off-by: Filipe Manana <fdmanana@suse.com>

All my bad.

Reviewed-by: Qu Wenruo <wqu@suse.com>

Thanks,
Qu
> ---
>   fs/btrfs/compression.c | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c
> index 6441e47d8a5e..7b4843df0752 100644
> --- a/fs/btrfs/compression.c
> +++ b/fs/btrfs/compression.c
> @@ -261,7 +261,7 @@ void btrfs_free_compr_folio(struct folio *folio)
>   	folio_put(folio);
>   }
>
> -static void end_bbio_comprssed_read(struct btrfs_bio *bbio)
> +static void end_bbio_compressed_read(struct btrfs_bio *bbio)
>   {
>   	struct compressed_bio *cb = to_compressed_bio(bbio);
>   	blk_status_t status = bbio->bio.bi_status;
> @@ -334,7 +334,7 @@ static void btrfs_finish_compressed_write_work(struct work_struct *work)
>    * This also calls the writeback end hooks for the file pages so that metadata
>    * and checksums can be updated in the file.
>    */
> -static void end_bbio_comprssed_write(struct btrfs_bio *bbio)
> +static void end_bbio_compressed_write(struct btrfs_bio *bbio)
>   {
>   	struct compressed_bio *cb = to_compressed_bio(bbio);
>   	struct btrfs_fs_info *fs_info = bbio->inode->root->fs_info;
> @@ -383,7 +383,7 @@ void btrfs_submit_compressed_write(struct btrfs_ordered_extent *ordered,
>
>   	cb = alloc_compressed_bio(inode, ordered->file_offset,
>   				  REQ_OP_WRITE | write_flags,
> -				  end_bbio_comprssed_write);
> +				  end_bbio_compressed_write);
>   	cb->start = ordered->file_offset;
>   	cb->len = ordered->num_bytes;
>   	cb->compressed_folios = compressed_folios;
> @@ -588,7 +588,7 @@ void btrfs_submit_compressed_read(struct btrfs_bio *bbio)
>   	compressed_len = em->block_len;
>
>   	cb = alloc_compressed_bio(inode, file_offset, REQ_OP_READ,
> -				  end_bbio_comprssed_read);
> +				  end_bbio_compressed_read);
>
>   	cb->start = em->orig_start;
>   	em_len = em->len;

      parent reply	other threads:[~2024-05-14  7:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-13 17:16 [PATCH] btrfs: fix misspelled end IO compression callbacks fdmanana
2024-05-13 18:21 ` David Sterba
2024-05-14  7:37 ` Qu Wenruo [this message]

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=9974f3e7-ffc8-4fc1-a8d5-ab9b14fc14cb@gmx.com \
    --to=quwenruo.btrfs@gmx.com \
    --cc=fdmanana@kernel.org \
    --cc=linux-btrfs@vger.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).