Skip to content

Commit 73fb2c8

Browse files
Deming WangMiklos Szeredi
authored andcommitted
virtio_fs: Modify format for virtio_fs_direct_access
We should isolate operators with spaces. Signed-off-by: Deming Wang <wangdeming@inspur.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
1 parent 1e5b9e0 commit 73fb2c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/fuse/virtio_fs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ static long virtio_fs_direct_access(struct dax_device *dax_dev, pgoff_t pgoff,
756756
{
757757
struct virtio_fs *fs = dax_get_private(dax_dev);
758758
phys_addr_t offset = PFN_PHYS(pgoff);
759-
size_t max_nr_pages = fs->window_len/PAGE_SIZE - pgoff;
759+
size_t max_nr_pages = fs->window_len / PAGE_SIZE - pgoff;
760760

761761
if (kaddr)
762762
*kaddr = fs->window_kaddr + offset;

0 commit comments

Comments
 (0)