From c8e6c8e40e101755b6fa60f99dd2e0643406c9c7 Mon Sep 17 00:00:00 2001 From: tappro Date: Thu, 22 Jun 2006 18:35:18 +0000 Subject: [PATCH] rename md_device_get() to md_obj2dev() --- lustre/include/md_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.3.1