commit | e6d05a757c314ad88d0649d3835a8a1daa964236 | [log] [tgz] |
---|---|---|
author | Peng Tao <bergwolf@gmail.com> | Thu Sep 22 21:50:16 2011 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Oct 18 09:08:14 2011 -0700 |
tree | f900bf7912f5eb2546769f19fdfacccbc36e6b59 | |
parent | 9b7eecdcfeb943f130d86bbc249fde4994b6fe30 [diff] |
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 <peng_tao@emc.com> Signed-off-by: Jim Rees <rees@umich.edu> Cc: stable@kernel.org [3.0] Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>