Commit 73fb2c8b authored by Deming Wang's avatar Deming Wang Committed by Miklos Szeredi

virtio_fs: Modify format for virtio_fs_direct_access

We should isolate operators with spaces.
Signed-off-by: default avatarDeming Wang <wangdeming@inspur.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 1e5b9e04
......@@ -756,7 +756,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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment