summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-03-03 09:05:08 -0500
committerJan Kara <jack@suse.cz>2010-03-05 00:20:31 +0100
commitefd8f0e6f6c1faa041f228d7113bd3a9db802d49 (patch)
tree81dbe5e0db3651227466f18283fd640edda080f2 /include
parent871a293155a24554e153538d36e3a80fa169aefb (diff)
downloadlinux-efd8f0e6f6c1faa041f228d7113bd3a9db802d49.tar.gz
linux-efd8f0e6f6c1faa041f228d7113bd3a9db802d49.tar.bz2
linux-efd8f0e6f6c1faa041f228d7113bd3a9db802d49.zip
quota: stop using QUOTA_OK / NO_QUOTA
Just use 0 / -EDQUOT directly - that's what it translates to anyway. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include')
-rw-r--r--include/linux/quota.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h
index 4aa93554f0eb..b462916b2a0a 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -279,9 +279,6 @@ struct dquot {
struct mem_dqblk dq_dqb; /* Diskquota usage */
};
-#define QUOTA_OK 0
-#define NO_QUOTA 1
-
/* Operations which must be implemented by each quota format */
struct quota_format_ops {
int (*check_quota_file)(struct super_block *sb, int type); /* Detect whether file is in our format */