llu_fsop_gone will do the job if llu_ffswop_mount runs ok.
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I1e3a103589fc5221cc481431c4477c4597cab738
Reviewed-on: http://review.whamcloud.com/2107
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alexey Lyashkov <alexey_lyashkov@xyratex.com>
OBD_FREE(osc, strlen(lprof->lp_dt) + instlen + 2);
if (mdc)
OBD_FREE(mdc, strlen(lprof->lp_md) + instlen + 2);
- OBD_FREE(sbi, sizeof(*sbi));
+ if (err != 0)
+ OBD_FREE(sbi, sizeof(*sbi));
liblustre_wait_idle();
return err;
}