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:
4201416
)
Branch HEAD
author
fanyong
<fanyong>
Fri, 28 Nov 2008 13:12:41 +0000
(13:12 +0000)
committer
fanyong
<fanyong>
Fri, 28 Nov 2008 13:12:41 +0000
(13:12 +0000)
i=Johann Lombardi
i=ZhiYong Tian
quota_check shall return an error when a target goes offline
lustre/quota/quota_check.c
patch
|
blob
|
history
diff --git
a/lustre/quota/quota_check.c
b/lustre/quota/quota_check.c
index
97061cb
..
62fc1f0
100644
(file)
--- a/
lustre/quota/quota_check.c
+++ b/
lustre/quota/quota_check.c
@@
-258,7
+258,7
@@
int lmv_quota_check(struct obd_device *unused, struct obd_export *exp,
}
err = obd_quotacheck(tgt->ltd_exp, oqctl);
- if (err &&
tgt->ltd_active &&
!rc)
+ if (err && !rc)
rc = err;
}
@@
-282,7
+282,7
@@
int lov_quota_check(struct obd_device *unused, struct obd_export *exp,
}
err = obd_quotacheck(lov->lov_tgts[i]->ltd_exp, oqctl);
- if (err &&
lov->lov_tgts[i]->ltd_active &&
!rc)
+ if (err && !rc)
rc = err;
}