X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Fobd_class.h;h=0fafed02a9725437dfa6b430f71502f6217fa606;hp=991586afeb6473138209381a94f2a348c0a83687;hb=c60e949e3b9f7ff19e1a644210cc764ee150ad8b;hpb=3800d05641158608e5a139336c00a781fa9fb8c7 diff --git a/lustre/include/obd_class.h b/lustre/include/obd_class.h index 991586a..0fafed0 100644 --- a/lustre/include/obd_class.h +++ b/lustre/include/obd_class.h @@ -317,8 +317,7 @@ void class_disconnect_stale_exports(struct obd_device *, int (*test_export)(struct obd_export *)); static inline enum obd_option exp_flags_from_obd(struct obd_device *obd) { - return ((obd->obd_fail ? OBD_OPT_FAILOVER : 0) | - (obd->obd_force ? OBD_OPT_FORCE : 0) | + return ((obd->obd_force ? OBD_OPT_FORCE : 0) | (obd->obd_abort_recovery ? OBD_OPT_ABORT_RECOV : 0) | 0); }