summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2i
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2014-11-10 16:16:23 +0100
committerRichard Weinberger <richard@nod.at>2015-03-26 22:46:04 +0100
commitee59ba8b064f692a1dee99b6f3ba30b0e904b2c1 (patch)
tree365b8b071072ae08b59a5944fc14afd1674f53a5 /drivers/scsi/bnx2i
parent24b7a347c37f99c9d08d2d3ae9c6a56a8333429b (diff)
downloadblackbird-op-linux-ee59ba8b064f692a1dee99b6f3ba30b0e904b2c1.tar.gz
blackbird-op-linux-ee59ba8b064f692a1dee99b6f3ba30b0e904b2c1.zip
UBI: Fix stale pointers in ubi->lookuptbl
In some error paths the WL sub-system gives up on a PEB and frees it's ubi_wl_entry struct but does not set the entry in ubi->lookuptbl to NULL. Fastmap can stumble over such a stale pointer as it uses ubi->lookuptbl to find all PEBs. Fix this by introducing a new helper function which free()s a WL entry and removes the reference from the lookup table. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/scsi/bnx2i')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud