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
LU-12610 ptlrpc: replace OBD_ -> CFS_ macros
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
sec_plain.c
diff --git
a/lustre/ptlrpc/sec_plain.c
b/lustre/ptlrpc/sec_plain.c
index
7cf3a2c
..
8b7dc45
100644
(file)
--- a/
lustre/ptlrpc/sec_plain.c
+++ b/
lustre/ptlrpc/sec_plain.c
@@
-316,7
+316,7
@@
int plain_cli_wrap_bulk(struct ptlrpc_cli_ctx *ctx,
* for sending we only compute the wrong checksum instead
* of corrupting the data so it is still correct on a redo
*/
* for sending we only compute the wrong checksum instead
* of corrupting the data so it is still correct on a redo
*/
- if (
OBD
_FAIL_CHECK(OBD_FAIL_OSC_CHECKSUM_SEND) &&
+ if (
CFS
_FAIL_CHECK(OBD_FAIL_OSC_CHECKSUM_SEND) &&
req->rq_flvr.u_bulk.hash.hash_alg != BULK_HASH_ALG_NULL)
token->pbt_hash[0] ^= 0x1;
}
req->rq_flvr.u_bulk.hash.hash_alg != BULK_HASH_ALG_NULL)
token->pbt_hash[0] ^= 0x1;
}
@@
-960,7
+960,7
@@
int plain_svc_wrap_bulk(struct ptlrpc_request *req,
CERROR("bulk read: server failed to compute checksum: %d\n",
rc);
} else {
CERROR("bulk read: server failed to compute checksum: %d\n",
rc);
} else {
- if (
OBD
_FAIL_CHECK(OBD_FAIL_OSC_CHECKSUM_RECEIVE))
+ if (
CFS
_FAIL_CHECK(OBD_FAIL_OSC_CHECKSUM_RECEIVE))
corrupt_bulk_data(desc);
}
corrupt_bulk_data(desc);
}