VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Bob Peterson <rpeterso@redhat.com> 2019-09-12 13:54:27 -0400 committer: Andreas Gruenbacher <agruenba@redhat.com> 2019-09-17 16:50:50 +0200 commit: f0b444b349e33ae0d3dd93e25ca365482a5d17d4 parent: b473bc2dcd5ad7c487f252d9d2b74ace70308b1f
Commit Summary:
gfs2: clear buf_in_tr when ending a transaction in sweep_bh_for_rgrps
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c
index 9ef543dd38e2..f63df54a08c6 100644
--- a/fs/gfs2/bmap.c
+++ b/fs/gfs2/bmap.c
@@ -1632,6 +1632,7 @@ out_unlock:
 			brelse(dibh);
 			up_write(&ip->i_rw_mutex);
 			gfs2_trans_end(sdp);
+			buf_in_tr = false;
 		}
 		gfs2_glock_dq_uninit(rd_gh);
 		cond_resched();