X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fosd-zfs%2Fosd_internal.h;h=443a1edf015d725b6ba507920335b2f4b906e804;hp=dde36de5c204d5fe0f2d3fd65fe55e6bca9b6fbc;hb=d9ceaf48c61cfbe1c600804d6f840b21bc000a83;hpb=41356014f614ce7c3d235163cfab594e1b53b45d diff --git a/lustre/osd-zfs/osd_internal.h b/lustre/osd-zfs/osd_internal.h index dde36de..443a1ed 100644 --- a/lustre/osd-zfs/osd_internal.h +++ b/lustre/osd-zfs/osd_internal.h @@ -493,19 +493,19 @@ static inline int lu_device_is_osd(const struct lu_device *d) static inline struct osd_object *osd_obj(const struct lu_object *o) { LASSERT(lu_device_is_osd(o->lo_dev)); - return container_of0(o, struct osd_object, oo_dt.do_lu); + return container_of(o, struct osd_object, oo_dt.do_lu); } static inline struct osd_device *osd_dt_dev(const struct dt_device *d) { LASSERT(lu_device_is_osd(&d->dd_lu_dev)); - return container_of0(d, struct osd_device, od_dt_dev); + return container_of(d, struct osd_device, od_dt_dev); } static inline struct osd_device *osd_dev(const struct lu_device *d) { LASSERT(lu_device_is_osd(d)); - return osd_dt_dev(container_of0(d, struct dt_device, dd_lu_dev)); + return osd_dt_dev(container_of(d, struct dt_device, dd_lu_dev)); } static inline struct osd_object *osd_dt_obj(const struct dt_object *d)