aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dqblk_v2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/dqblk_v2.h')
-rw-r--r--include/linux/dqblk_v2.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/include/linux/dqblk_v2.h b/include/linux/dqblk_v2.h
index 4f853322cb7f..e5e22a787d58 100644
--- a/include/linux/dqblk_v2.h
+++ b/include/linux/dqblk_v2.h
@@ -1,26 +1,23 @@
1/* 1/*
2 * Definitions of structures for vfsv0 quota format 2 * Definitions for vfsv0 quota format
3 */ 3 */
4 4
5#ifndef _LINUX_DQBLK_V2_H 5#ifndef _LINUX_DQBLK_V2_H
6#define _LINUX_DQBLK_V2_H 6#define _LINUX_DQBLK_V2_H
7 7
8#include <linux/types.h> 8#include <linux/dqblk_qtree.h>
9 9
10/* id numbers of quota format */ 10/* Id number of quota format */
11#define QFMT_VFS_V0 2 11#define QFMT_VFS_V0 2
12 12
13/* Numbers of blocks needed for updates */ 13/* Numbers of blocks needed for updates */
14#define V2_INIT_ALLOC 4 14#define V2_INIT_ALLOC QTREE_INIT_ALLOC
15#define V2_INIT_REWRITE 2 15#define V2_INIT_REWRITE QTREE_INIT_REWRITE
16#define V2_DEL_ALLOC 0 16#define V2_DEL_ALLOC QTREE_DEL_ALLOC
17#define V2_DEL_REWRITE 6 17#define V2_DEL_REWRITE QTREE_DEL_REWRITE
18 18
19/* Inmemory copy of version specific information */
20struct v2_mem_dqinfo { 19struct v2_mem_dqinfo {
21 unsigned int dqi_blocks; 20 struct qtree_mem_dqinfo i;
22 unsigned int dqi_free_blk;
23 unsigned int dqi_free_entry;
24}; 21};
25 22
26#endif /* _LINUX_DQBLK_V2_H */ 23#endif /* _LINUX_DQBLK_V2_H */