summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-11-07 08:59:35 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 15:53:39 (GMT)
commitbe586bab8bfbf5d429bdfcb6136bdde89583c5c4 (patch)
tree3ff050d2e962b7bacec8b86685d6887717f06173 /fs
parente3f17f0f6e98f58edb13cb38810d93e6d4808e68 (diff)
downloadlinux-be586bab8bfbf5d429bdfcb6136bdde89583c5c4.tar.xz
[PATCH] quota: small cleanups
- "extern inline" -> "static inline" - every file should #include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/dquot.c1
-rw-r--r--fs/quota.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/fs/dquot.c b/fs/dquot.c
index ea76442..afa06a8 100644
--- a/fs/dquot.c
+++ b/fs/dquot.c
@@ -77,6 +77,7 @@
#include <linux/kmod.h>
#include <linux/namei.h>
#include <linux/buffer_head.h>
+#include <linux/quotaops.h>
#include <asm/uaccess.h>
diff --git a/fs/quota.c b/fs/quota.c
index 1df7832..612e04d 100644
--- a/fs/quota.c
+++ b/fs/quota.c
@@ -15,6 +15,7 @@
#include <linux/security.h>
#include <linux/syscalls.h>
#include <linux/buffer_head.h>
+#include <linux/quotaops.h>
/* Check validity of generic quotactl commands */
static int generic_quotactl_valid(struct super_block *sb, int type, int cmd, qid_t id)