X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosc%2Fosc_quota.c;h=4320ae40777cfc02b691ff562bb4edee5d223916;hb=e703700e9c095d94996d7bfd957f57285d659fbf;hp=a0aaae784515a0567dbb5fe36563667dfaa97074;hpb=c59cf862c3c06758c270564dd6e8948e167316b9;p=fs%2Flustre-release.git diff --git a/lustre/osc/osc_quota.c b/lustre/osc/osc_quota.c index a0aaae7..4320ae4 100644 --- a/lustre/osc/osc_quota.c +++ b/lustre/osc/osc_quota.c @@ -61,11 +61,11 @@ int osc_quota_chkdq(struct client_obd *cli, const unsigned int qid[]) * quota space on this OST */ CDEBUG(D_QUOTA, "chkdq found noquota for %s %d\n", type == USRQUOTA ? "user" : "grout", qid[type]); - RETURN(NO_QUOTA); + RETURN(-EDQUOT); } } - RETURN(QUOTA_OK); + RETURN(0); } static inline u32 md_quota_flag(int qtype)