]> Pileus Git - ~andy/linux/commit
IB/iser: Return error to upper layers on EAGAIN registration failures
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 1 May 2013 13:25:26 +0000 (13:25 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 2 May 2013 00:34:13 +0000 (17:34 -0700)
commit450d1e40d597dd71843457c73d372c4b4f2a83eb
tree75a5edd71a2b8e315481490db2fc0e4b5e610a1c
parent4f3638826124b722b2c0dde5097bca182bf74125
IB/iser: Return error to upper layers on EAGAIN registration failures

Commit 819a087316a6 ("IB/iser: Avoid error prints on EAGAIN
registration failures") not only eliminated the error print on that
case, but rather also modified the code such that it doesn't return
any error to upper layers.  As a result a wrong mapping was used.  Fix
this to correctly return the error in that case.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iser_memory.c