We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d60a601 commit 351a24eCopy full SHA for 351a24e
fs/fuse/file.c
@@ -793,7 +793,7 @@ static int fuse_do_readfolio(struct file *file, struct folio *folio)
793
struct inode *inode = folio->mapping->host;
794
struct fuse_mount *fm = get_fuse_mount(inode);
795
loff_t pos = folio_pos(folio);
796
- struct fuse_folio_desc desc = { .length = PAGE_SIZE };
+ struct fuse_folio_desc desc = { .length = folio_size(folio) };
797
struct fuse_io_args ia = {
798
.ap.args.page_zeroing = true,
799
.ap.args.out_pages = true,
0 commit comments