Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
branch: HEAD
[fs/lustre-release.git]
/
lustre
/
quota
/
quota_internal.h
diff --git
a/lustre/quota/quota_internal.h
b/lustre/quota/quota_internal.h
index
fa645b8
..
2bc82c0
100644
(file)
--- a/
lustre/quota/quota_internal.h
+++ b/
lustre/quota/quota_internal.h
@@
-219,7
+219,7
@@
static inline int client_quota_recoverable_error(int rc)
static inline int client_quota_should_resend(int resend, struct client_obd *cli)
{
- return
atomic_read(&cli->cl_quota_resends
) ?
+ return
(atomic_read(&cli->cl_quota_resends) >= 0
) ?
atomic_read(&cli->cl_quota_resends) > resend : 1;
}