diff options
author | Bob Peterson <rpeterso@redhat.com> | 2011-11-16 23:50:37 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-11-18 10:49:51 +0100 |
commit | b9f417f311a7141d0ba67e5c8e535010d2712f2d (patch) | |
tree | e9c74a8bd5958d9f4f39eb0da25e3ca16f0c17ee /fs/gfs2/rgrp.c | |
parent | GFS2: combine gfs2_alloc_block and gfs2_alloc_di (diff) | |
download | linux-b9f417f311a7141d0ba67e5c8e535010d2712f2d.tar.xz linux-b9f417f311a7141d0ba67e5c8e535010d2712f2d.zip |
GFS2: remove vestigial al_alloced
This patch removes the vestigial variable al_alloced from
the gfs2_alloc structure. This is another baby step toward
multi-block reservations.
My next planned step is to decouple the quota variables
from the gfs2_alloc structure so we can use a different
method for allocations.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/rgrp.c')
-rw-r--r-- | fs/gfs2/rgrp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index 995f4e674489..855597abc5e7 100644 --- a/fs/gfs2/rgrp.c +++ b/fs/gfs2/rgrp.c @@ -1372,8 +1372,6 @@ int gfs2_alloc_block(struct gfs2_inode *ip, u64 *bn, unsigned int *n, gfs2_trans_add_bh(rgd->rd_gl, rgd->rd_bits[0].bi_bh, 1); gfs2_rgrp_out(rgd, rgd->rd_bits[0].bi_bh->b_data); - al->al_alloced += *n; - gfs2_statfs_change(sdp, 0, -(s64)*n, dinode ? 1 : 0); if (dinode) gfs2_trans_add_unrevoke(sdp, block, 1); |