LU-4260 lod: free striping if striping initialization fails
It should free striping if striping information initialization is
faild, otherwise the later object find will pick up this wrong lod
object, and hit LBUG
ASSERTION( lc->ldo_stripenr == 0 ) failed:
[<
ffffffffa0349895>] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
[<
ffffffffa0349e97>] lbug_with_loc+0x47/0xb0 [libcfs]
[<
ffffffffa0e3f78f>] lod_ah_init+0x57f/0x5c0 [lod]
[<
ffffffffa0b73a83>] mdd_object_make_hint+0x83/0xa0 [mdd]
[<
ffffffffa0b7feb2>] mdd_create_data+0x332/0x7d0 [mdd]
[<
ffffffffa0d9cc2c>] mdt_finish_open+0x125c/0x18a0 [mdt]
[<
ffffffffa0d984f8>] ? mdt_object_open_lock+0x1c8/0x510 [mdt]
[<
ffffffffa0d9ee8d>] mdt_reint_open+0x115d/0x20c0 [mdt]
Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I67b2bd0e013b860767d19eda986fdcff7e16c486
Reviewed-on: http://review.whamcloud.com/8324
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>