GFS2: decouple quota allocations from block allocations
authorBob Peterson <rpeterso@redhat.com>
Mon, 21 Nov 2011 18:36:17 +0000 (13:36 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 22 Nov 2011 10:25:21 +0000 (10:25 +0000)
commit564e12b1157215171e7f3af5b70611ec7154327c
treef2a6e3394e59209f8e43a36f10f67bf1372c966c
parentb3e47ca0c2427ec72a74e36c6408784b6098f2b5
GFS2: decouple quota allocations from block allocations

This patch separates the code pertaining to allocations into two
parts: quota-related information and block reservations.
This patch also moves all the block reservation structure allocations to
function gfs2_inplace_reserve to simplify the code, and moves
the frees to function gfs2_inplace_release.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
13 files changed:
fs/gfs2/aops.c
fs/gfs2/bmap.c
fs/gfs2/dir.c
fs/gfs2/file.c
fs/gfs2/incore.h
fs/gfs2/inode.c
fs/gfs2/main.c
fs/gfs2/quota.c
fs/gfs2/rgrp.c
fs/gfs2/rgrp.h
fs/gfs2/super.c
fs/gfs2/trans.h
fs/gfs2/xattr.c
This page took 0.03613 seconds and 5 git commands to generate.