]> err.no Git - linux-2.6/commit
[PATCH] srp: fix fmr error handling
authorVu Pham <vu@mellanox.com>
Fri, 14 Jul 2006 07:23:53 +0000 (00:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 15 Jul 2006 04:53:50 +0000 (21:53 -0700)
commit6583eb3dcc1f03ce969594dae5573dbefce015dc
treebf93901cb14ed4bb2175a784acc52880860a4278
parentf0ee3404cce2c45f8b95b341dd6311cd92e5cee0
[PATCH] srp: fix fmr error handling

srp_unmap_data assumes req->fmr is NULL if the request is not mapped, so we
must clean it out in case of an error.

Signed-off-by: Vu Pham <vu@mellanox.com>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Acked-by: Roland Dreier <rolandd@cisco.com>
Cc: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/ulp/srp/ib_srp.c