From: tianzy Date: Wed, 22 Jul 2009 13:41:11 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_8_2_01~1^2~225 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=47d41a5014af6bee26532195e0b14d5dcd673956;p=fs%2Flustre-release.git Branch b1_8 fix "Cannot mount mdt or osts if --param xxx.quota_type in mkfs command" b=20236 i=johann --- diff --git a/lustre/quota/lproc_quota.c b/lustre/quota/lproc_quota.c index 433d130..ee20213 100644 --- a/lustre/quota/lproc_quota.c +++ b/lustre/quota/lproc_quota.c @@ -416,7 +416,13 @@ int lprocfs_quota_wr_type(struct file *file, const char *buffer, if (rc == 0) build_lqs(obd); - else if (rc != -EALREADY) + else if (rc == -ENOENT) + CWARN("%s: quotaon failed because quota files don't " + "exist, please run quotacheck firstly\n", + obd->obd_name); + else if (rc == -EALREADY) + CWARN("%s: quota is on already!\n", obd->obd_name); + else return rc; }