diff options
| author | Andreas Gruenbacher <agruenba@redhat.com> | 2025-03-26 22:21:08 +0100 |
|---|---|---|
| committer | Andreas Gruenbacher <agruenba@redhat.com> | 2025-05-22 09:12:27 +0200 |
| commit | d50a64e3c55e59e45e415c65531b0d76ad4cea36 (patch) | |
| tree | 68c5aa61c95b3602b4348550b2e708f84e275bd0 /fs/gfs2/bmap.c | |
| parent | 2f022736ee483cffd40f91d9562bc93cea7cba93 (diff) | |
| download | linux-d50a64e3c55e59e45e415c65531b0d76ad4cea36.tar.gz linux-d50a64e3c55e59e45e415c65531b0d76ad4cea36.tar.bz2 linux-d50a64e3c55e59e45e415c65531b0d76ad4cea36.zip | |
gfs2: Move gfs2_trans_add_databufs
Move gfs2_trans_add_databufs() to trans.c. Pass in a glock instead of
a gfs2_inode.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/bmap.c')
| -rw-r--r-- | fs/gfs2/bmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c index 070905493f8f..7703d0471139 100644 --- a/fs/gfs2/bmap.c +++ b/fs/gfs2/bmap.c @@ -988,7 +988,8 @@ static void gfs2_iomap_put_folio(struct inode *inode, loff_t pos, struct gfs2_sbd *sdp = GFS2_SB(inode); if (!gfs2_is_stuffed(ip)) - gfs2_trans_add_databufs(ip, folio, offset_in_folio(folio, pos), + gfs2_trans_add_databufs(ip->i_gl, folio, + offset_in_folio(folio, pos), copied); folio_unlock(folio); |
