mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gao Xiang <hsiangkao@linux.alibaba.com>
To: Bo Liu <liubo03@inspur.com>, xiang@kernel.org, chao@kernel.org
Cc: linux-erofs@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] erofs: get rid of erofs_kmap_type
Date: Mon, 17 Feb 2025 17:26:35 +0800	[thread overview]
Message-ID: <c1da1e6c-0587-44cf-8107-4917a7a60d46@linux.alibaba.com> (raw)
In-Reply-To: <20250217091044.2311-1-liubo03@inspur.com>



On 2025/2/17 17:10, Bo Liu wrote:
> Since EROFS_KMAP_ATOMIC is no longer valid, get rid of erofs_kmap_type too.
> 
> Signed-off-by: Bo Liu <liubo03@inspur.com>
> ---
>   fs/erofs/data.c     | 16 ++++++++--------
>   fs/erofs/dir.c      |  2 +-
>   fs/erofs/fileio.c   |  2 +-
>   fs/erofs/fscache.c  |  2 +-
>   fs/erofs/inode.c    |  6 +++---
>   fs/erofs/internal.h | 10 ++--------
>   fs/erofs/namei.c    |  2 +-
>   fs/erofs/super.c    |  8 ++++----
>   fs/erofs/xattr.c    | 12 ++++++------
>   fs/erofs/zdata.c    |  4 ++--
>   fs/erofs/zmap.c     |  6 +++---
>   11 files changed, 32 insertions(+), 38 deletions(-)
> 
> diff --git a/fs/erofs/data.c b/fs/erofs/data.c
> index 0cd6b5c4df98..386e312de8c0 100644
> --- a/fs/erofs/data.c
> +++ b/fs/erofs/data.c
> @@ -26,7 +26,7 @@ void erofs_put_metabuf(struct erofs_buf *buf)
>   }
>   
>   void *erofs_bread(struct erofs_buf *buf, erofs_off_t offset,
> -		  enum erofs_kmap_type type)
> +				bool need_kmap)

leave in the same line?

Otherwise it looks good to me.

Thanks,
Gao Xiang

      reply	other threads:[~2025-02-17  9:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-17  9:10 Bo Liu
2025-02-17  9:26 ` Gao Xiang [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=c1da1e6c-0587-44cf-8107-4917a7a60d46@linux.alibaba.com \
    --to=hsiangkao@linux.alibaba.com \
    --cc=chao@kernel.org \
    --cc=linux-erofs@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liubo03@inspur.com \
    --cc=xiang@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®