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:
23b26e9
)
b=22754 a small bug in LDLM_POOL_PROC_WRITER
author
LiuYing
<Emoly.Liu@sun.com>
Wed, 2 Jun 2010 10:29:46 +0000
(18:29 +0800)
committer
Robert Read
<robert.read@oracle.com>
Wed, 2 Jun 2010 18:44:05 +0000
(11:44 -0700)
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
2316e9d
..
4de2d85
100644
(file)
--- a/
lustre/ldlm/ldlm_internal.h
+++ b/
lustre/ldlm/ldlm_internal.h
@@
-229,7
+229,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; \
} \