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:
ef8c9a1
)
b=22754 a small bug in LDLM_POOL_PROC_WRITER
author
LiuYing
<Emoly.Liu@Sun.COM>
Fri, 21 May 2010 00:44:06 +0000
(08:44 +0800)
committer
Johann Lombardi
<johann@sun.com>
Fri, 21 May 2010 12:38:56 +0000
(14:38 +0200)
lprocfs_wr_unit returns "count >= 0" for success
i=nathan
i=fanyong
lustre/ldlm/ldlm_internal.h
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_internal.h
b/lustre/ldlm/ldlm_internal.h
index
d62520a
..
e068ba5
100644
(file)
--- a/
lustre/ldlm/ldlm_internal.h
+++ b/
lustre/ldlm/ldlm_internal.h
@@
-225,7
+225,7
@@
typedef enum ldlm_policy_res ldlm_policy_res_t;
int rc; \
\
rc = lprocfs_wr_uint(file, buffer, count, &tmp); \
- if (rc
) {
\
+ if (rc
< 0) {
\
CERROR("Can't parse user input, rc = %d\n", rc); \
return rc; \
} \