Linux-Fsdevel Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Vivek Goyal <vgoyal@redhat.com>
To: linux-fsdevel@vger.kernel.org, virtio-fs@redhat.com, miklos@szeredi.hu
Cc: vgoyal@redhat.com, stefanha@redhat.com, dgilbert@redhat.com
Subject: [PATCH 2/2] fuse, dax: Save dax device in fuse_conn_dax
Date: Tue, 1 Sep 2020 10:26:34 -0400 [thread overview]
Message-ID: <20200901142634.1227109-3-vgoyal@redhat.com> (raw)
In-Reply-To: <20200901142634.1227109-1-vgoyal@redhat.com>
This is needed later in fuse_iomap_begin to fill iomap->dax_dev. Otherwise
dax generic code (dax_iomap_rw()) returns -EOPNOTSUPP.
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
---
fs/fuse/dax.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/fuse/dax.c b/fs/fuse/dax.c
index c7099eec17b4..aa89173234c1 100644
--- a/fs/fuse/dax.c
+++ b/fs/fuse/dax.c
@@ -1296,6 +1296,7 @@ int fuse_dax_conn_alloc(struct fuse_conn *fc, struct dax_device *dax_dev)
fcd->nr_free_ranges = nr_ranges;
fcd->nr_ranges = nr_ranges;
+ fcd->dev = dax_dev;
fc->dax = fcd;
return 0;
--
2.25.4
next prev parent reply other threads:[~2020-09-01 14:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-01 14:26 [PATCH 0/2] fuse, dax: Couple of fixes for fuse dax support Vivek Goyal
2020-09-01 14:26 ` [PATCH 1/2] fuse, dax: Use correct config option CONFIG_FUSE_DAX Vivek Goyal
2020-09-01 14:26 ` Vivek Goyal [this message]
2020-09-04 9:45 ` [PATCH 0/2] fuse, dax: Couple of fixes for fuse dax support Miklos Szeredi
2020-09-04 13:05 ` Vivek Goyal
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=20200901142634.1227109-3-vgoyal@redhat.com \
--to=vgoyal@redhat.com \
--cc=dgilbert@redhat.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=stefanha@redhat.com \
--cc=virtio-fs@redhat.com \
--subject='Re: [PATCH 2/2] fuse, dax: Save dax device in fuse_conn_dax' \
/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
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 NNTP newsgroup(s).