e3d4d56b97
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>
19 lines
422 B
C
19 lines
422 B
C
/*
|
|
* Definitions for vfsv0 quota format
|
|
*/
|
|
|
|
#ifndef _LINUX_DQBLK_V2_H
|
|
#define _LINUX_DQBLK_V2_H
|
|
|
|
#include <linux/dqblk_qtree.h>
|
|
|
|
/* Id number of quota format */
|
|
#define QFMT_VFS_V0 2
|
|
|
|
/* Numbers of blocks needed for updates */
|
|
#define V2_INIT_ALLOC QTREE_INIT_ALLOC
|
|
#define V2_INIT_REWRITE QTREE_INIT_REWRITE
|
|
#define V2_DEL_ALLOC QTREE_DEL_ALLOC
|
|
#define V2_DEL_REWRITE QTREE_DEL_REWRITE
|
|
|
|
#endif /* _LINUX_DQBLK_V2_H */
|