aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-09-21 17:17:53 -0400
committerMark Fasheh <mfasheh@suse.com>2009-01-05 11:36:58 -0500
commitcf770c137122b78470a67ebd5498947869a09197 (patch)
treec1f9af3927752e8aef3e0ca45facc39ae6945258
parentca785ec66b991e9ca74dd9840fc014487ad095e1 (diff)
quota: Move quotaio_v[12].h from include/linux/ to fs/
Since these include files are used only by implementation of quota formats, there's no need to have them in include/linux/. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
-rw-r--r--fs/quota_v1.c3
-rw-r--r--fs/quota_v2.c7
-rw-r--r--fs/quotaio_v1.h (renamed from include/linux/quotaio_v1.h)0
-rw-r--r--fs/quotaio_v2.h (renamed from include/linux/quotaio_v2.h)0
-rw-r--r--include/linux/Kbuild2
5 files changed, 6 insertions, 6 deletions
diff --git a/fs/quota_v1.c b/fs/quota_v1.c
index 3e078eee5644..b4af1c69ad16 100644
--- a/fs/quota_v1.c
+++ b/fs/quota_v1.c
@@ -3,13 +3,14 @@
3#include <linux/quota.h> 3#include <linux/quota.h>
4#include <linux/quotaops.h> 4#include <linux/quotaops.h>
5#include <linux/dqblk_v1.h> 5#include <linux/dqblk_v1.h>
6#include <linux/quotaio_v1.h>
7#include <linux/kernel.h> 6#include <linux/kernel.h>
8#include <linux/init.h> 7#include <linux/init.h>
9#include <linux/module.h> 8#include <linux/module.h>
10 9
11#include <asm/byteorder.h> 10#include <asm/byteorder.h>
12 11
12#include "quotaio_v1.h"
13
13MODULE_AUTHOR("Jan Kara"); 14MODULE_AUTHOR("Jan Kara");
14MODULE_DESCRIPTION("Old quota format support"); 15MODULE_DESCRIPTION("Old quota format support");
15MODULE_LICENSE("GPL"); 16MODULE_LICENSE("GPL");
diff --git a/fs/quota_v2.c b/fs/quota_v2.c
index 51c4717f7c6a..a21d1a7c356a 100644
--- a/fs/quota_v2.c
+++ b/fs/quota_v2.c
@@ -6,7 +6,6 @@
6#include <linux/fs.h> 6#include <linux/fs.h>
7#include <linux/mount.h> 7#include <linux/mount.h>
8#include <linux/dqblk_v2.h> 8#include <linux/dqblk_v2.h>
9#include <linux/quotaio_v2.h>
10#include <linux/kernel.h> 9#include <linux/kernel.h>
11#include <linux/init.h> 10#include <linux/init.h>
12#include <linux/module.h> 11#include <linux/module.h>
@@ -15,6 +14,8 @@
15 14
16#include <asm/byteorder.h> 15#include <asm/byteorder.h>
17 16
17#include "quotaio_v2.h"
18
18MODULE_AUTHOR("Jan Kara"); 19MODULE_AUTHOR("Jan Kara");
19MODULE_DESCRIPTION("Quota format v2 support"); 20MODULE_DESCRIPTION("Quota format v2 support");
20MODULE_LICENSE("GPL"); 21MODULE_LICENSE("GPL");
@@ -129,8 +130,8 @@ static void mem2diskdqb(struct v2_disk_dqblk *d, struct mem_dqblk *m, qid_t id)
129 d->dqb_isoftlimit = cpu_to_le32(m->dqb_isoftlimit); 130 d->dqb_isoftlimit = cpu_to_le32(m->dqb_isoftlimit);
130 d->dqb_curinodes = cpu_to_le32(m->dqb_curinodes); 131 d->dqb_curinodes = cpu_to_le32(m->dqb_curinodes);
131 d->dqb_itime = cpu_to_le64(m->dqb_itime); 132 d->dqb_itime = cpu_to_le64(m->dqb_itime);
132 d->dqb_bhardlimit = cpu_to_le32(v2_qbtos(m->dqb_bhardlimit)); 133 d->dqb_bhardlimit = cpu_to_le32(v2_stoqb(m->dqb_bhardlimit));
133 d->dqb_bsoftlimit = cpu_to_le32(v2_qbtos(m->dqb_bsoftlimit)); 134 d->dqb_bsoftlimit = cpu_to_le32(v2_stoqb(m->dqb_bsoftlimit));
134 d->dqb_curspace = cpu_to_le64(m->dqb_curspace); 135 d->dqb_curspace = cpu_to_le64(m->dqb_curspace);
135 d->dqb_btime = cpu_to_le64(m->dqb_btime); 136 d->dqb_btime = cpu_to_le64(m->dqb_btime);
136 d->dqb_id = cpu_to_le32(id); 137 d->dqb_id = cpu_to_le32(id);
diff --git a/include/linux/quotaio_v1.h b/fs/quotaio_v1.h
index 746654b5de70..746654b5de70 100644
--- a/include/linux/quotaio_v1.h
+++ b/fs/quotaio_v1.h
diff --git a/include/linux/quotaio_v2.h b/fs/quotaio_v2.h
index 303d7cbe30d4..303d7cbe30d4 100644
--- a/include/linux/quotaio_v2.h
+++ b/fs/quotaio_v2.h
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index 95ac82340c3b..900a787cbae9 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -134,8 +134,6 @@ header-y += posix_types.h
134header-y += ppdev.h 134header-y += ppdev.h
135header-y += prctl.h 135header-y += prctl.h
136header-y += qnxtypes.h 136header-y += qnxtypes.h
137header-y += quotaio_v1.h
138header-y += quotaio_v2.h
139header-y += radeonfb.h 137header-y += radeonfb.h
140header-y += raw.h 138header-y += raw.h
141header-y += resource.h 139header-y += resource.h