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:
5820bbc
)
b=17493
author
anserper
<anserper>
Mon, 3 Nov 2008 21:21:06 +0000
(21:21 +0000)
committer
anserper
<anserper>
Mon, 3 Nov 2008 21:21:06 +0000
(21:21 +0000)
i=Andreas Dilger
i=Johann Lombardi
handling of a broken readonly key
lustre/mds/handler.c
patch
|
blob
|
history
diff --git
a/lustre/mds/handler.c
b/lustre/mds/handler.c
index
8d4202a
..
f74bc66
100644
(file)
--- a/
lustre/mds/handler.c
+++ b/
lustre/mds/handler.c
@@
-1391,7
+1391,8
@@
static int mds_set_info_rpc(struct obd_export *exp, struct ptlrpc_request *req)
lustre_msg_set_status(req->rq_repmsg, 0);
- if (KEY_IS(KEY_READONLY)) {
+ /* Accept the broken "read-only" key from 1.6.6 clients. b=17493 */
+ if (KEY_IS(KEY_READONLY) || KEY_IS(KEY_READONLY_166COMPAT)) {
if (val == NULL || vallen < sizeof(__u32)) {
DEBUG_REQ(D_HA, req, "no set_info val");
RETURN(-EFAULT);