IB/ipath: don't modify QP if changes fail
authorBryan O'Sullivan <bos@pathscale.com>
Tue, 23 May 2006 18:32:30 +0000 (11:32 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 23 May 2006 20:27:06 +0000 (13:27 -0700)
commitb228b43c491c53d1838e06f47a7470db9f84d899
tree3dc567452c12e13ed89d6c12563558cd9407d48c
parentebac3800e5652063aa9491ef7fb4d57e089eb385
IB/ipath: don't modify QP if changes fail

Make sure modify_qp won't modify the QP if any of the changes failed.

Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_qp.c