GFS2: Cache the most recently used resource group in the inode
[deliverable/linux.git] / fs / gfs2 / xattr.c
index 167f4af53b1d02235c0e563bfbb8aac29340007f..e7bf0ea1c3cc82ca177b710020b95b202e850262 100644 (file)
@@ -727,7 +727,7 @@ static int ea_alloc_skeleton(struct gfs2_inode *ip, struct gfs2_ea_request *er,
                goto out_gunlock_q;
 
        error = gfs2_trans_begin(GFS2_SB(&ip->i_inode),
-                                blks + gfs2_rg_blocks(al) +
+                                blks + gfs2_rg_blocks(ip) +
                                 RES_DINODE + RES_STATFS + RES_QUOTA, 0);
        if (error)
                goto out_ipres;
This page took 0.030529 seconds and 5 git commands to generate.