From 8c82de96cd23e4823a2d29eb2de2295c0866b0c9 Mon Sep 17 00:00:00 2001 From: Yang Lin Date: Wed, 30 May 2012 19:43:21 +0800 Subject: Initial commit to Gerrit --- dqblk_xfs.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dqblk_xfs.h (limited to 'dqblk_xfs.h') diff --git a/dqblk_xfs.h b/dqblk_xfs.h new file mode 100644 index 0000000..415e646 --- /dev/null +++ b/dqblk_xfs.h @@ -0,0 +1,25 @@ +/* + * Headerfile for XFS quota format + */ + +#ifndef GUARD_DQBLK_XFS_H +#define GUARD_DQBLK_XFS_H + +#include "quotaio_xfs.h" + +#define Q_XFS_QUOTAON Q_XQUOTAON +#define Q_XFS_QUOTAOFF Q_XQUOTAOFF +#define Q_XFS_GETQUOTA Q_XGETQUOTA +#define Q_XFS_SETQLIM Q_XSETQLIM +#define Q_XFS_GETQSTAT Q_XGETQSTAT +#define Q_XFS_QUOTARM Q_XQUOTARM + +#define xfs_mem_dqinfo fs_quota_stat +#define xfs_kern_dqblk fs_disk_quota + +struct quotafile_ops; /* Will be defined later in quotaio.h */ + +/* Operations above this format */ +extern struct quotafile_ops quotafile_ops_xfs; + +#endif -- cgit v1.2.3