X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Fevents.c;h=fe07a4919fe0bcb300b5e8f054ee8e05e4da05d4;hp=ff8f88379c82ed1cf2844f27c74046948354cc14;hb=f7f31f8f969f410cca0b4b8b02f81391148e01f2;hpb=7462e8cad730897f459da31886c57585654f26b8;ds=sidebyside diff --git a/lustre/ptlrpc/events.c b/lustre/ptlrpc/events.c index ff8f883..fe07a49 100644 --- a/lustre/ptlrpc/events.c +++ b/lustre/ptlrpc/events.c @@ -27,7 +27,6 @@ */ /* * This file is part of Lustre, http://www.lustre.org/ - * Lustre is a trademark of Sun Microsystems, Inc. */ #define DEBUG_SUBSYSTEM S_RPC @@ -226,10 +225,9 @@ void client_bulk_callback(struct lnet_event *ev) spin_lock(&req->rq_lock); req->rq_net_err = 1; spin_unlock(&req->rq_lock); + desc->bd_failure = 1; } - if (ev->status != 0) - desc->bd_failure = 1; /* NB don't unlock till after wakeup; desc can disappear under us * otherwise */