This reverts commit 27e40ca227ea39524ae113f26bee021cac2eecb8. The debug info is no longer needed as we can now confirm that the catched event is legitimate. So we will let the userspace to handle it.
Signed-off-by: Liu Kui <kui....@virtuozzo.com> --- fs/fuse/kio/pcs/pcs_krpc.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/fs/fuse/kio/pcs/pcs_krpc.c b/fs/fuse/kio/pcs/pcs_krpc.c index e8c924c1a5da..0b47afb9bb01 100644 --- a/fs/fuse/kio/pcs/pcs_krpc.c +++ b/fs/fuse/kio/pcs/pcs_krpc.c @@ -85,17 +85,10 @@ static void krpc_req_complete(struct krpc_req *kreq, int error) { struct krpc_completion *comp = &kreq->completion; struct pcs_krpc *krpc = kreq->krpc; - struct pcs_rpc_hdr *h = (struct pcs_rpc_hdr *)kreq->hdr_buf; BUG_ON(!comp->xid); comp->result = error; - if (!comp->result && !(RPC_IS_RESPONSE(h->type))) { - /* - * This should never happen, catch the event if it happens. - */ - WARN_ON_ONCE(1); - } kreq_release_data_chunks(kreq); if (kreq->hdr_chunk.mr) -- 2.39.5 (Apple Git-154) _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel