[Devel] [PATCH VZ9] fs/fuse: remove the 'page_cache' bit fuse_args
Liu Kui
kui.liu at virtuozzo.com
Mon Sep 15 18:03:08 MSK 2025
The page_cache bit is no longer needed, so remove it.
Signed-off-by: Liu Kui <kui.liu at virtuozzo.com>
---
fs/fuse/file.c | 2 --
fs/fuse/fuse_i.h | 1 -
2 files changed, 3 deletions(-)
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index ce9f6b8eb274..baefef99df32 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -1129,7 +1129,6 @@ static int fuse_do_readpage(struct file *file, struct page *page,
.ap.num_pages = 1,
.ap.pages = &page,
.ap.descs = &desc,
- .ap.args.page_cache = 1,
};
ssize_t res;
u64 attr_ver;
@@ -1287,7 +1286,6 @@ static void fuse_send_readpages(struct fuse_io_args *ia, struct file *file)
ap->args.out_pages = true;
ap->args.page_zeroing = true;
ap->args.page_replace = true;
- ap->args.page_cache = 1;
/* Don't overflow end offset */
if (pos + (count - 1) == LLONG_MAX) {
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 916d69680543..52e4f37ea0f8 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -322,7 +322,6 @@ struct fuse_args {
bool nonblocking:1;
bool kio_internal:1;
bool async:1;
- bool page_cache:1;
bool killed:1;
struct fuse_in_arg in_args[3];
struct fuse_arg out_args[3];
--
2.39.5 (Apple Git-154)
More information about the Devel
mailing list