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>
This commit is contained in:
committed by
Jan Kara
parent
871a293155
commit
efd8f0e6f6
@@ -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 */
|
||||
|
Reference in New Issue
Block a user