RDMA/nes: Rework the disconn routine for terminate and flushing
authorDon Wood <donald.e.wood@intel.com>
Sun, 6 Sep 2009 03:36:39 +0000 (20:36 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 6 Sep 2009 03:36:39 +0000 (20:36 -0700)
commitb29a4fc49b028dbdab53b679826ed1eb658dde59
tree4b1e96c8abe337a651a878de6e73c4e9a0d9db92
parent320cdfd21d4a9f6ef54b74871e0d6b19a0e86fd6
RDMA/nes: Rework the disconn routine for terminate and flushing

The disconn routine has been reworked to acoomodate the terminate and
flushing changes.  The routine has been reorganized to make all the
decisions at the start then it performs all the required operations.
This simplified the lock handling and is easier to follow.

Signed-off-by: Don Wood <donald.e.wood@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_cm.c