summaryrefslogtreecommitdiffstats
path: root/include/linux/quota.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-10-02 18:44:14 +0200
committerMark Fasheh <mfasheh@suse.com>2009-01-05 08:40:21 -0800
commite3d4d56b9715e40ded2a84d0d4fa7f3b6c58983c (patch)
tree67648a89b3c9056d77caa6ef42776cf1053c5e70 /include/linux/quota.h
parent1ccd14b9c271c1ac6eec5c5ec5def433100e7248 (diff)
downloadop-kernel-dev-e3d4d56b9715e40ded2a84d0d4fa7f3b6c58983c.zip
op-kernel-dev-e3d4d56b9715e40ded2a84d0d4fa7f3b6c58983c.tar.gz
quota: Convert union in mem_dqinfo to a pointer
Coming quota support for OCFS2 is going to need quite a bit of additional per-sb quota information. Moreover having fs.h include all the types needed for this structure would be a pain in the a**. So remove the union from mem_dqinfo and add a private pointer for filesystem's use. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'include/linux/quota.h')
-rw-r--r--include/linux/quota.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h
index 80b8807..e51dfdc 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -208,10 +208,7 @@ struct mem_dqinfo {
unsigned int dqi_igrace;
qsize_t dqi_maxblimit;
qsize_t dqi_maxilimit;
- union {
- struct v1_mem_dqinfo v1_i;
- struct v2_mem_dqinfo v2_i;
- } u;
+ void *dqi_priv;
};
struct super_block;
OpenPOWER on IntegriCloud