mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
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:
parent
871a293155
commit
efd8f0e6f6
2 changed files with 24 additions and 27 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue