ore: Don't crash on NULL bio in _clear_bio
authorBoaz Harrosh <bharrosh@panasas.com>
Mon, 13 Jan 2014 17:10:40 +0000 (19:10 +0200)
committerBoaz Harrosh <bharrosh@panasas.com>
Thu, 23 Jan 2014 16:36:22 +0000 (18:36 +0200)
commit2deb76db092a91088494c00862bafc4fe7980adb
treecef48ceee9a2dd07d4939f442d9d4e3a16c3fa33
parentaad560b7f63b495f48a7232fd086c5913a676e6f
ore: Don't crash on NULL bio in _clear_bio

In the case of target returning OSD_ERR_PRI_CLEAR_PAGES when we
only sent for attributes don't crash on NULL bio.
This is an osd-target bug but don't crash regardless

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/ore.c