diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2023-01-15 08:45:50 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-01-18 10:44:04 -0800 |
commit | 7a70a5085ed028b4fd132447cbaea9b73113bca9 (patch) | |
tree | 3acca07c9073e68878896469d2eddef38a9a37b4 /fs/gfs2/bmap.c | |
parent | 5dc4c995db9eb45f6373a956eb1f69460e69e6d4 (diff) |
iomap: Add __iomap_put_folio helper
Add an __iomap_put_folio() helper to encapsulate unlocking the folio,
calling ->page_done(), and putting the folio. Use the new helper in
iomap_write_begin() and iomap_write_end().
This effectively doesn't change the way the code works, but prepares for
successive improvements.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/gfs2/bmap.c')
0 files changed, 0 insertions, 0 deletions