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-6142 lnet: return proper error code
[fs/lustre-release.git]
/
lnet
/
lnet
/
lib-eq.c
diff --git
a/lnet/lnet/lib-eq.c
b/lnet/lnet/lib-eq.c
index
d5cc380
..
91dbf08
100644
(file)
--- a/
lnet/lnet/lib-eq.c
+++ b/
lnet/lnet/lib-eq.c
@@
-331,7
+331,7
@@
__must_hold(&the_lnet.ln_eq_wait_lock)
cfs_time_t now;
if (tms == 0)
- return -
1
; /* don't want to wait and no new event */
+ return -
ENXIO
; /* don't want to wait and no new event */
init_waitqueue_entry(&wl, current);
set_current_state(TASK_INTERRUPTIBLE);