VisionFive2 Linux kernel

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

More than 9999 Commits   33 Branches   57 Tags
author: Benjamin Marzinski <bmarzins@redhat.com> 2010-09-27 16:00:04 -0500 committer: Steven Whitehouse <swhiteho@redhat.com> 2010-09-28 09:44:24 +0100 commit: bf97b6734e027cc18abad420ab88f861f65d7816 parent: d0795f912318f65b800c6b619d749c3bf7c930fb
Commit Summary:
GFS2: reserve more blocks for transactions
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c
index 04513e997df6..5476c066d4ee 100644
--- a/fs/gfs2/bmap.c
+++ b/fs/gfs2/bmap.c
@@ -1151,7 +1151,7 @@ static int do_grow(struct inode *inode, u64 size)
 			goto do_grow_qunlock;
 	}
 
-	error = gfs2_trans_begin(sdp, RES_DINODE + 1, 0);
+	error = gfs2_trans_begin(sdp, RES_DINODE + RES_STATFS + RES_RG_BIT, 0);
 	if (error)
 		goto do_grow_release;