[Devel] [PATCH RHEL9 COMMIT] fs/fuse: remove the 'page_cache' bit fuse_args
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Sep 16 15:20:52 MSK 2025
The commit is pushed to "branch-rh9-5.14.0-427.77.1.vz9.86.x-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh9-5.14.0-427.77.1.vz9.86.7
------>
commit 7cf9345138c8b3dd3e38f68c92a685123dbddcf7
Author: Liu Kui <kui.liu at virtuozzo.com>
Date: Mon Sep 15 23:03:08 2025 +0800
fs/fuse: remove the 'page_cache' bit fuse_args
The page_cache bit is no longer needed, so remove it.
Fixes: 65f1c5a2fc21a ("fs/fuse: remove useless code related to
fuse_kill_requests")
Signed-off-by: Liu Kui <kui.liu at virtuozzo.com>
Feature: vStorage
---
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 ce9f6b8eb274f..baefef99df32b 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 916d696805433..52e4f37ea0f87 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];
More information about the Devel
mailing list