projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e5b9e0
)
virtio_fs: Modify format for virtio_fs_direct_access
author
Deming Wang
<wangdeming@inspur.com>
Wed, 22 Jun 2022 21:17:58 +0000
(17:17 -0400)
committer
Miklos Szeredi
<mszeredi@redhat.com>
Tue, 26 Jul 2022 08:38:58 +0000
(10:38 +0200)
We should isolate operators with spaces.
Signed-off-by: Deming Wang <wangdeming@inspur.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/virtio_fs.c
patch
|
blob
|
history
diff --git
a/fs/fuse/virtio_fs.c
b/fs/fuse/virtio_fs.c
index 0991199d19c1afdbf659d3356d9c463c5be0569d..4d8d4f16c727b9d607dc884312d7663e6cfd4b78 100644
(file)
--- a/
fs/fuse/virtio_fs.c
+++ b/
fs/fuse/virtio_fs.c
@@
-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;