Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
md/md-multipath: guard against a possible NULL dereference
mempool_alloc might fail to allocate a slot, in which case we will end up dereferencing a NULL mp_bh pointer. Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool. Fixes: 1da177e ("Linux-2.6.12-rc2") Signed-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru>
- Loading branch information