From: tappro Date: Thu, 22 Jun 2006 18:35:18 +0000 (+0000) Subject: rename md_device_get() to md_obj2dev() X-Git-Tag: v1_8_0_110~486^2~1574 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=c8e6c8e40e101755b6fa60f99dd2e0643406c9c7;p=fs%2Flustre-release.git rename md_device_get() to md_obj2dev() --- diff --git a/lustre/include/md_object.h b/lustre/include/md_object.h index 19422de..65609e9 100644 --- a/lustre/include/md_object.h +++ b/lustre/include/md_object.h @@ -149,7 +149,7 @@ static inline struct md_object *md_object_next(const struct md_object *obj) return lu2md(lu_object_next(&obj->mo_lu)); } -static inline struct md_device *md_device_get(const struct md_object *o) +static inline struct md_device *md_obj2dev(const struct md_object *o) { LASSERT(lu_device_is_md(o->mo_lu.lo_dev)); return container_of0(o->mo_lu.lo_dev, struct md_device, md_lu_dev);