Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fuse: remove unneeded offset assignment when filling write pages

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>

authored by

Joanne Koong and committed by
Miklos Szeredi
6fd26f50 14cbb72d

-1
-1
fs/fuse/file.c
··· 1175 1175 num = min(iov_iter_count(ii), fc->max_write); 1176 1176 1177 1177 ap->args.in_pages = true; 1178 - ap->descs[0].offset = offset; 1179 1178 1180 1179 while (num && ap->num_folios < max_folios) { 1181 1180 size_t tmp;