X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Fevents.c;h=fe07a4919fe0bcb300b5e8f054ee8e05e4da05d4;hp=90a1587af0086b72c6e2a7dd9742cb5f39b8f3d7;hb=f7f31f8f969f410cca0b4b8b02f81391148e01f2;hpb=83ddd179225821e5c2aee1adb72dab26150ab385 diff --git a/lustre/ptlrpc/events.c b/lustre/ptlrpc/events.c index 90a1587..fe07a49 100644 --- a/lustre/ptlrpc/events.c +++ b/lustre/ptlrpc/events.c @@ -225,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 */