Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1866cfe
)
Branch b_release_1_8_1
author
tianzy
<tianzy>
Wed, 22 Jul 2009 13:40:38 +0000
(13:40 +0000)
committer
tianzy
<tianzy>
Wed, 22 Jul 2009 13:40:38 +0000
(13:40 +0000)
fix "Cannot mount mdt or osts if --param xxx.quota_type in mkfs command"
b=20236
i=johann
lustre/quota/lproc_quota.c
patch
|
blob
|
history
diff --git
a/lustre/quota/lproc_quota.c
b/lustre/quota/lproc_quota.c
index
433d130
..
ee20213
100644
(file)
--- 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;
}