X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fofd%2Fofd_dev.c;h=ae96044ac67b01a1f79a6a55e639ef5c5bbaffc2;hp=0f0d51a60bd4cad8b86d2f8eadccdcfebaae7b64;hb=f6dc0994f2bb5d2624e622213b634e74a1c76e3f;hpb=56e5a6bb4fc0329092f85016b8664da0b6ffa8a8 diff --git a/lustre/ofd/ofd_dev.c b/lustre/ofd/ofd_dev.c index 0f0d51a..ae96044 100644 --- a/lustre/ofd/ofd_dev.c +++ b/lustre/ofd/ofd_dev.c @@ -81,7 +81,7 @@ static int ofd_connect_to_next(const struct lu_env *env, struct ofd_device *m, obd = class_name2obd(next); if (obd == NULL) { CERROR("%s: can't locate next device: %s\n", - m->ofd_dt_dev.dd_lu_dev.ld_obd->obd_name, next); + ofd_name(m), next); GOTO(out, rc = -ENOTCONN); } @@ -91,7 +91,7 @@ static int ofd_connect_to_next(const struct lu_env *env, struct ofd_device *m, rc = obd_connect(NULL, exp, obd, &obd->obd_uuid, data, NULL); if (rc) { CERROR("%s: cannot connect to next dev %s: rc = %d\n", - m->ofd_dt_dev.dd_lu_dev.ld_obd->obd_name, next, rc); + ofd_name(m), next, rc); GOTO(out, rc); } @@ -405,7 +405,7 @@ static int ofd_lfsck_out_notify(const struct lu_env *env, void *data, } default: CERROR("%s: unknown lfsck event: rc = %d\n", - ofd_obd(ofd)->obd_name, event); + ofd_name(ofd), event); return -EINVAL; }