else
LU_OBJECT_DEBUG(D_ERROR, env, luch,
"%s: object can't be located "DFID"\n",
- ludev->ld_obd->obd_name, PFID(fid));
+ osd_dev(ludev)->od_svname, PFID(fid));
if (child == NULL) {
lu_object_put(env, luch);
CERROR("%s: Unable to get osd_object "DFID"\n",
- ludev->ld_obd->obd_name, PFID(fid));
+ osd_dev(ludev)->od_svname, PFID(fid));
child = ERR_PTR(-ENOENT);
}
} else {
LU_OBJECT_DEBUG(D_ERROR, env, luch,
"%s: lu_object does not exists "DFID"\n",
- ludev->ld_obd->obd_name, PFID(fid));
+ osd_dev(ludev)->od_svname, PFID(fid));
lu_object_put(env, luch);
child = ERR_PTR(-ENOENT);
}
* zfs_readdir() generates ./.. on fly, but
* we want own entries (.. at least) with a fid
*/
-#if LUSTRE_VERSION_CODE >= OBD_OCD_VERSION(2, 3, 55, 0)
+#if LUSTRE_VERSION_CODE >= OBD_OCD_VERSION(2, 3, 57, 0)
#warning "fix '.' and '..' handling"
#endif