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@xxxxxxxxxx> --- 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