aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 67fd6beffec..5cda51a3e3b 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -289,16 +289,14 @@ struct gfs2_glock {
289 289
290#define GFS2_MIN_LVB_SIZE 32 /* Min size of LVB that gfs2 supports */ 290#define GFS2_MIN_LVB_SIZE 32 /* Min size of LVB that gfs2 supports */
291 291
292struct gfs2_qadata { /* quota allocation data */
293 /* Quota stuff */
294 struct gfs2_quota_data *qa_qd[2*MAXQUOTAS];
295 struct gfs2_holder qa_qd_ghs[2*MAXQUOTAS];
296 unsigned int qa_qd_num;
297};
298
299struct gfs2_blkreserv { 292struct gfs2_blkreserv {
300 u32 rs_requested; /* Filled in by caller of gfs2_inplace_reserve() */ 293 u32 rs_requested; /* Filled in by caller of gfs2_inplace_reserve() */
301 struct gfs2_holder rs_rgd_gh; /* Filled in by gfs2_inplace_reserve() */ 294 struct gfs2_holder rs_rgd_gh; /* Filled in by gfs2_inplace_reserve() */
295
296 /* ancillary quota stuff */
297 struct gfs2_quota_data *rs_qa_qd[2 * MAXQUOTAS];
298 struct gfs2_holder rs_qa_qd_ghs[2 * MAXQUOTAS];
299 unsigned int rs_qa_qd_num;
302}; 300};
303 301
304enum { 302enum {
@@ -319,7 +317,6 @@ struct gfs2_inode {
319 struct gfs2_glock *i_gl; /* Move into i_gh? */ 317 struct gfs2_glock *i_gl; /* Move into i_gh? */
320 struct gfs2_holder i_iopen_gh; 318 struct gfs2_holder i_iopen_gh;
321 struct gfs2_holder i_gh; /* for prepare/commit_write only */ 319 struct gfs2_holder i_gh; /* for prepare/commit_write only */
322 struct gfs2_qadata *i_qadata; /* quota allocation data */
323 struct gfs2_blkreserv *i_res; /* resource group block reservation */ 320 struct gfs2_blkreserv *i_res; /* resource group block reservation */
324 struct gfs2_rgrpd *i_rgd; 321 struct gfs2_rgrpd *i_rgd;
325 u64 i_goal; /* goal block for allocations */ 322 u64 i_goal; /* goal block for allocations */