From: Vivek Goyal <vgoyal@redhat.com>
To: Deming Wang <wangdeming@inspur.com>
Cc: stefanha@redhat.com, miklos@szeredi.hu,
virtualization@lists.linux-foundation.org,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] virtio_fs: Modify format for virtio_fs_direct_access
Date: Thu, 23 Jun 2022 08:48:01 -0400 [thread overview]
Message-ID: <YrRhAZA1Enez0WRA@redhat.com> (raw)
In-Reply-To: <20220622211758.4728-1-wangdeming@inspur.com>
On Wed, Jun 22, 2022 at 05:17:58PM -0400, Deming Wang wrote:
> We should isolate operators with spaces.
>
> Signed-off-by: Deming Wang <wangdeming@inspur.com>
Looks good to me.
Reviewed-by: Vivek Goyal <vgoyal@redhat.com>
Vivek
> ---
> fs/fuse/virtio_fs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/fuse/virtio_fs.c b/fs/fuse/virtio_fs.c
> index 8db53fa67359..e962c29967eb 100644
> --- a/fs/fuse/virtio_fs.c
> +++ b/fs/fuse/virtio_fs.c
> @@ -757,7 +757,7 @@ static long virtio_fs_direct_access(struct dax_device *dax_dev, pgoff_t pgoff,
> {
> struct virtio_fs *fs = dax_get_private(dax_dev);
> phys_addr_t offset = PFN_PHYS(pgoff);
> - size_t max_nr_pages = fs->window_len/PAGE_SIZE - pgoff;
> + size_t max_nr_pages = fs->window_len / PAGE_SIZE - pgoff;
>
> if (kaddr)
> *kaddr = fs->window_kaddr + offset;
> --
> 2.27.0
>
prev parent reply other threads:[~2022-06-23 12:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-22 21:17 [PATCH] virtio_fs: Modify format for virtio_fs_direct_access Deming Wang
2022-06-23 12:48 ` Vivek Goyal [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=YrRhAZA1Enez0WRA@redhat.com \
--to=vgoyal@redhat.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=stefanha@redhat.com \
--cc=virtualization@lists.linux-foundation.org \
--cc=wangdeming@inspur.com \
/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