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
b=21949 echo code fixes.
[fs/lustre-release.git]
/
lustre
/
obdecho
/
echo_client.c
diff --git
a/lustre/obdecho/echo_client.c
b/lustre/obdecho/echo_client.c
index
0cb20d9
..
237c146
100644
(file)
--- a/
lustre/obdecho/echo_client.c
+++ b/
lustre/obdecho/echo_client.c
@@
-1157,7
+1157,7
@@
static int cl_echo_object_brw(struct echo_object *eco, int rw, obd_off offset,
rc = cl_echo_enqueue0(env, eco, offset,
offset + npages * CFS_PAGE_SIZE - 1,
- rw == READ ? LCK_P
W
: LCK_PW, &lh.cookie,
+ rw == READ ? LCK_P
R
: LCK_PW, &lh.cookie,
CEF_NEVER);
if (rc < 0)
GOTO(error_lock, rc);