X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=fs%2Fafs%2Frxrpc.c;h=25f05a8d21b195fffb10f89cff990888fefd1ab2;hb=04659febcb074de61ae80dbb1fb62f56c08a2b91;hp=477928b259400a33bef35b0ab40608eba6d8b4e5;hpb=aa34e07e457ed13b44d680b5b605e3e5a585f611;p=cascardo%2Flinux.git diff --git a/fs/afs/rxrpc.c b/fs/afs/rxrpc.c index 477928b25940..25f05a8d21b1 100644 --- a/fs/afs/rxrpc.c +++ b/fs/afs/rxrpc.c @@ -676,10 +676,11 @@ static int afs_deliver_cm_op_id(struct afs_call *call) ASSERTCMP(call->offset, <, 4); /* the operation ID forms the first four bytes of the request data */ - ret = afs_extract_data(call, &call->operation_ID, 4, true); + ret = afs_extract_data(call, &call->tmp, 4, true); if (ret < 0) return ret; + call->operation_ID = ntohl(call->tmp); call->state = AFS_CALL_AWAIT_REQUEST; call->offset = 0;