6.17-stable review patch. If anyone has any objections, please let me know.
------------------
From: Joanne Koong joannelkoong@gmail.com
[ Upstream commit 6fd26f50857698c6f07a9e6b149247925fadb8fd ]
With the change in aee03ea7ff98 ("fuse: support large folios for writethrough writes"), this old line for setting ap->descs[0].offset is now obsolete and unneeded. This should have been removed as part of aee03ea7ff98.
Signed-off-by: Joanne Koong joannelkoong@gmail.com Fixes: aee03ea7ff98 ("fuse: support large folios for writethrough writes") Signed-off-by: Miklos Szeredi mszeredi@redhat.com Signed-off-by: Sasha Levin sashal@kernel.org --- fs/fuse/file.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 4adcf09d4b01a..c7351ca070652 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -1175,7 +1175,6 @@ static ssize_t fuse_fill_write_pages(struct fuse_io_args *ia, num = min(iov_iter_count(ii), fc->max_write);
ap->args.in_pages = true; - ap->descs[0].offset = offset;
while (num && ap->num_folios < max_folios) { size_t tmp;