提交 5cd9d5bb 编写于 作者: J Jan Kara 提交者: Mark Fasheh

quota: Unexport dqblk_v1.h and dqblk_v2.h

Unexport header files dqblk_v[12].h since except for quota format ID they
don't contain information userspace should be interested in. Move ID
definitions to quota.h.
Signed-off-by: NJan Kara <jack@suse.cz>
Signed-off-by: NMark Fasheh <mfasheh@suse.com>
上级 9a2f3866
...@@ -56,8 +56,6 @@ header-y += dlm_device.h ...@@ -56,8 +56,6 @@ header-y += dlm_device.h
header-y += dlm_netlink.h header-y += dlm_netlink.h
header-y += dm-ioctl.h header-y += dm-ioctl.h
header-y += dn.h header-y += dn.h
header-y += dqblk_v1.h
header-y += dqblk_v2.h
header-y += dqblk_xfs.h header-y += dqblk_xfs.h
header-y += efs_fs_sb.h header-y += efs_fs_sb.h
header-y += elf-fdpic.h header-y += elf-fdpic.h
......
...@@ -5,9 +5,6 @@ ...@@ -5,9 +5,6 @@
#ifndef _LINUX_DQBLK_V1_H #ifndef _LINUX_DQBLK_V1_H
#define _LINUX_DQBLK_V1_H #define _LINUX_DQBLK_V1_H
/* Id of quota format */
#define QFMT_VFS_OLD 1
/* Root squash turned on */ /* Root squash turned on */
#define V1_DQF_RSQUASH 1 #define V1_DQF_RSQUASH 1
......
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
#include <linux/dqblk_qtree.h> #include <linux/dqblk_qtree.h>
/* Id number of quota format */
#define QFMT_VFS_V0 2
/* Numbers of blocks needed for updates */ /* Numbers of blocks needed for updates */
#define V2_INIT_ALLOC QTREE_INIT_ALLOC #define V2_INIT_ALLOC QTREE_INIT_ALLOC
#define V2_INIT_REWRITE QTREE_INIT_REWRITE #define V2_INIT_REWRITE QTREE_INIT_REWRITE
......
...@@ -70,6 +70,10 @@ ...@@ -70,6 +70,10 @@
#define Q_GETQUOTA 0x800007 /* get user quota structure */ #define Q_GETQUOTA 0x800007 /* get user quota structure */
#define Q_SETQUOTA 0x800008 /* set user quota structure */ #define Q_SETQUOTA 0x800008 /* set user quota structure */
/* Quota format type IDs */
#define QFMT_VFS_OLD 1
#define QFMT_VFS_V0 2
/* Size of block in which space limits are passed through the quota /* Size of block in which space limits are passed through the quota
* interface */ * interface */
#define QIF_DQBLKSIZE_BITS 10 #define QIF_DQBLKSIZE_BITS 10
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册