Skip to content

Commit 8cab8dc

Browse files
Kundan Kumarbrauner
authored andcommitted
gfs2: stop using writeback internals for dirty_exceeded check
Convert gfs2 dirty_exceeded handling to use the writeback core helper instead of accessing writeback directly. Reviewed-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com> Suggested-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Kundan Kumar <kundan.kumar@samsung.com> Signed-off-by: Anuj Gupta <anuj20.g@samsung.com> Link: https://patch.msgid.link/20260213054634.79785-4-kundan.kumar@samsung.com Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 07043a6 commit 8cab8dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/gfs2/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ static int gfs2_write_inode(struct inode *inode, struct writeback_control *wbc)
449449
gfs2_log_flush(GFS2_SB(inode), ip->i_gl,
450450
GFS2_LOG_HEAD_FLUSH_NORMAL |
451451
GFS2_LFC_WRITE_INODE);
452-
if (bdi->wb.dirty_exceeded)
452+
if (bdi_wb_dirty_exceeded(bdi))
453453
gfs2_ail1_flush(sdp, wbc);
454454
else
455455
filemap_fdatawrite(metamapping);

0 commit comments

Comments
 (0)