Commit
5cd9d5bb86daf632a40f90e2321ea9379e42f073
Exists in
master
and in
39 other branches
8mp-imx_5.4.70_2.3.0, 8qm-imx_5.4.70_2.3.0, emb_imx_lf-5.15.y, emb_lf-6.1.y, imx_3.0.35_4.1.0, imx_3.10.17_1.0.1_ga, imx_3.10.53_1.1.0_ga, imx_3.14.28_1.0.0_ga, imx_4.1.15_1.0.0_ga, pitx_8mp_lf-5.10.y, rt-smarc-imx_4.1.15_1.0.0_ga, rt_linux_5.15.71, smarc-8m-android-11.0.0_2.0.0, smarc-imx6_4.14.98_2.0.0_ga, smarc-imx6_4.9.88_2.0.0_ga, smarc-imx7_4.14.98_2.0.0_ga, smarc-imx7_4.9.11_1.0.0_ga, smarc-imx7_4.9.88_2.0.0_ga, smarc-imx_3.10.53_1.1.0_ga, smarc-imx_3.14.28_1.0.0_ga, smarc-imx_4.1.15_1.0.0_ga, smarc-imx_4.9.11_1.0.0_ga, smarc-imx_4.9.51_imx8m_ga, smarc-imx_4.9.88_2.0.0_ga, smarc-m6.0.1_2.1.0-ga, smarc-n7.1.2_2.0.0-ga, smarc-rel_imx_4.1.15_1.2.0_ga, smarc_8m_00d0_imx_4.14.98_2.0.0_ga, smarc_8m_imx_4.14.78_1.0.0_ga, smarc_8m_imx_4.14.98_2.0.0_ga, smarc_8m_imx_4.19.35_1.1.0, smarc_8mm_imx_4.14.78_1.0.0_ga, smarc_8mm_imx_4.14.98_2.0.0_ga, smarc_8mm_imx_4.19.35_1.1.0, smarc_8mm_imx_5.4.24_2.1.0, smarc_8mp_lf-5.10.y, smarc_8mq_imx_5.4.24_2.1.0, smarc_8mq_lf-5.10.y, smarc_imx_lf-5.15.y
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: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Showing
4 changed files
with
4 additions
and
8 deletions
Side-by-side Diff
... |
... |
@@ -56,8 +56,6 @@ |
56
|
56 |
header-y += dlm_netlink.h |
57
|
57 |
header-y += dm-ioctl.h |
58
|
58 |
header-y += dn.h |
59
|
|
-header-y += dqblk_v1.h |
60
|
|
-header-y += dqblk_v2.h |
61
|
59 |
header-y += dqblk_xfs.h |
62
|
60 |
header-y += efs_fs_sb.h |
63
|
61 |
header-y += elf-fdpic.h |
... |
... |
@@ -5,9 +5,6 @@ |
5
|
5 |
#ifndef _LINUX_DQBLK_V1_H |
6
|
6 |
#define _LINUX_DQBLK_V1_H |
7
|
7 |
|
8
|
|
-/* Id of quota format */ |
9
|
|
-#define QFMT_VFS_OLD 1 |
10
|
|
- |
11
|
8 |
/* Root squash turned on */ |
12
|
9 |
#define V1_DQF_RSQUASH 1 |
13
|
10 |
|
... |
... |
@@ -7,9 +7,6 @@ |
7
|
7 |
|
8
|
8 |
#include <linux/dqblk_qtree.h> |
9
|
9 |
|
10
|
|
-/* Id number of quota format */ |
11
|
|
-#define QFMT_VFS_V0 2 |
12
|
|
- |
13
|
10 |
/* Numbers of blocks needed for updates */ |
14
|
11 |
#define V2_INIT_ALLOC QTREE_INIT_ALLOC |
15
|
12 |
#define V2_INIT_REWRITE QTREE_INIT_REWRITE |
... |
... |
@@ -70,6 +70,10 @@ |
70
|
70 |
#define Q_GETQUOTA 0x800007 /* get user quota structure */ |
71
|
71 |
#define Q_SETQUOTA 0x800008 /* set user quota structure */ |
72
|
72 |
|
|
73 |
+/* Quota format type IDs */ |
|
74 |
+#define QFMT_VFS_OLD 1 |
|
75 |
+#define QFMT_VFS_V0 2 |
|
76 |
+ |
73
|
77 |
/* Size of block in which space limits are passed through the quota |
74
|
78 |
* interface */ |
75
|
79 |
#define QIF_DQBLKSIZE_BITS 10 |