diff options
| author | David Howells <[email protected]> | 2024-09-27 08:08:42 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-09-27 16:29:20 +0000 |
| commit | 9fffa4e9b3b158f63334e603e610da7d529a0f9a (patch) | |
| tree | 0778bf4f5c0d5696e5f68f6c3aae07350105af72 /fs/ext4/fast_commit.c | |
| parent | afs: Fix the setting of the server responding flag (diff) | |
| download | kernel-9fffa4e9b3b158f63334e603e610da7d529a0f9a.tar.gz kernel-9fffa4e9b3b158f63334e603e610da7d529a0f9a.zip | |
netfs: Advance iterator correctly rather than jumping it
In netfs_write_folio(), use iov_iter_advance() to advance the folio as we
split bits of it off to subrequests rather than manually jumping the
->iov_offset value around. This becomes more problematic when we use a
bounce buffer made out of single-page folios to cover a multipage pagecache
folio.
Signed-off-by: David Howells <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
cc: Jeff Layton <[email protected]>
cc: [email protected]
cc: [email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
