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:
f22246d
)
Branch HEAD
author
tianzy
<tianzy>
Fri, 3 Jul 2009 04:47:09 +0000
(
04:47
+0000)
committer
tianzy
<tianzy>
Fri, 3 Jul 2009 04:47:09 +0000
(
04:47
+0000)
fix quota spurious message
b=19898
i=tianzy
i=panda
lustre/quota/quota_interface.c
patch
|
blob
|
history
diff --git
a/lustre/quota/quota_interface.c
b/lustre/quota/quota_interface.c
index
0f6e7c2
..
1a8076b
100644
(file)
--- a/
lustre/quota/quota_interface.c
+++ b/
lustre/quota/quota_interface.c
@@
-478,7
+478,7
@@
static int quota_chk_acq_common(struct obd_device *obd, const unsigned int id[],
l_wait_event(waitq, 0, &lwi);
}
l_wait_event(waitq, 0, &lwi);
}
- if (rc < 0 || cycle % 10 ==
2
) {
+ if (rc < 0 || cycle % 10 ==
0
) {
spin_lock(&last_print_lock);
if (last_print == 0 ||
cfs_time_before((last_print + cfs_time_seconds(30)),
spin_lock(&last_print_lock);
if (last_print == 0 ||
cfs_time_before((last_print + cfs_time_seconds(30)),