Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pnfsblock: fix NULL pointer dereference
bl_add_page_to_bio returns error pointer. bio should be reset to NULL in failure cases as the out path always calls bl_submit_bio. Signed-off-by: Peng Tao <[email protected]> Signed-off-by: Jim Rees <[email protected]> Cc: [email protected] [3.0] Signed-off-by: Trond Myklebust <[email protected]>
- Loading branch information