diff options
| author | Joanne Koong <joannelkoong@gmail.com> | 2026-07-29 12:27:30 -0700 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-07-31 12:28:51 +0200 |
| commit | 8808f09e95c1184df5502b09e761c135accd3921 (patch) | |
| tree | e5ea300a781c29fbd3c11e0274baec63dc0d50d9 | |
| parent | d3f0fcc22e93f3e3756f98d07aef37aed64d4940 (diff) | |
| download | linux-stable-8808f09e95c1184df5502b09e761c135accd3921.tar.gz linux-stable-8808f09e95c1184df5502b09e761c135accd3921.zip | |
f2fs: convert iomap ops to ->iomap_next()
Convert f2fs iomap_ops to the new ->iomap_next() callback. The callback is
generated with the DEFINE_IOMAP_ITER_NEXT() macro, which wraps the
iomap_iter_next() helper to finish the previous mapping if needed and
produce the next one. No functional changes are intended.
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Link: https://patch.msgid.link/20260729192737.3190206-16-joannelkoong@gmail.com
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
| -rw-r--r-- | fs/f2fs/data.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index a765fda71536..8977ad379f50 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -4653,6 +4653,8 @@ static int f2fs_iomap_begin(struct inode *inode, loff_t offset, loff_t length, return 0; } +static DEFINE_IOMAP_ITER_NEXT(f2fs_iomap_next, f2fs_iomap_begin); + const struct iomap_ops f2fs_iomap_ops = { - .iomap_begin = f2fs_iomap_begin, + .iomap_next = f2fs_iomap_next, }; |
