X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Fgfs2%2Fops_vm.c;h=404b7cc9f8c4887803d10437c91783a18e655fa0;hb=bf22f6fe2d72b4d7e9035be8ceb340414cf490e3;hp=aa0dbd2aac1bd31bdd3cb4ebf8265fe9b874d47d;hpb=cd354f1ae75e6466a7e31b727faede57a1f89ca5;p=linux-2.6-omap-h63xx.git diff --git a/fs/gfs2/ops_vm.c b/fs/gfs2/ops_vm.c index aa0dbd2aac1..404b7cc9f8c 100644 --- a/fs/gfs2/ops_vm.c +++ b/fs/gfs2/ops_vm.c @@ -66,7 +66,7 @@ static int alloc_page_backing(struct gfs2_inode *ip, struct page *page) if (error) goto out_gunlock_q; - error = gfs2_trans_begin(sdp, al->al_rgd->rd_ri.ri_length + + error = gfs2_trans_begin(sdp, al->al_rgd->rd_length + ind_blocks + RES_DINODE + RES_STATFS + RES_QUOTA, 0); if (error)