OpenCloudOS-Kernel/drivers/infiniband/ulp/iser
Jason Gunthorpe 7dd78647a2 IB/core: Make ib_dealloc_pd return void
The majority of callers never check the return value, and even if they
did, they can't do anything about a failure.

All possible failure cases represent a bug in the caller, so just
WARN_ON inside the function instead.

This fixes a few random errors:
 net/rd/iw.c infinite loops while it fails. (racing with EBUSY?)

This also lays the ground work to get rid of error return from the
drivers. Most drivers do not error, the few that do are broken since
it cannot be handled.

Since uverbs can legitimately make use of EBUSY, open code the
check.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-08-30 18:12:39 -04:00
..
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00
iscsi_iser.c IB/iser: Use pd->local_dma_lkey 2015-08-30 18:12:34 -04:00
iscsi_iser.h IB/iser: Chain all iser transaction send work requests 2015-08-30 18:12:33 -04:00
iser_initiator.c IB/iser: Use pd->local_dma_lkey 2015-08-30 18:12:34 -04:00
iser_memory.c IB/iser: Use pd->local_dma_lkey 2015-08-30 18:12:34 -04:00
iser_verbs.c IB/core: Make ib_dealloc_pd return void 2015-08-30 18:12:39 -04:00