diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-03-03 09:05:08 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-03-04 18:20:31 -0500 |
commit | efd8f0e6f6c1faa041f228d7113bd3a9db802d49 (patch) | |
tree | 81dbe5e0db3651227466f18283fd640edda080f2 /include/linux | |
parent | 871a293155a24554e153538d36e3a80fa169aefb (diff) |
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/linux')
-rw-r--r-- | include/linux/quota.h | 3 |
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 { | |||
279 | struct mem_dqblk dq_dqb; /* Diskquota usage */ | 279 | struct mem_dqblk dq_dqb; /* Diskquota usage */ |
280 | }; | 280 | }; |
281 | 281 | ||
282 | #define QUOTA_OK 0 | ||
283 | #define NO_QUOTA 1 | ||
284 | |||
285 | /* Operations which must be implemented by each quota format */ | 282 | /* Operations which must be implemented by each quota format */ |
286 | struct quota_format_ops { | 283 | struct quota_format_ops { |
287 | int (*check_quota_file)(struct super_block *sb, int type); /* Detect whether file is in our format */ | 284 | int (*check_quota_file)(struct super_block *sb, int type); /* Detect whether file is in our format */ |