X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fosc%2Fosc_dev.c;h=b95bdac1dcf207cd8f57a0ca5f0547dbe7b70db4;hp=c06a5deb339b7284bd8a8fd5b0331a0c9bec8754;hb=036d987c6d716d2e3d8f5a12800b44f3cd01bb9c;hpb=e207f9f96fc51f3b6d219193cca3d83aaa99b3e8 diff --git a/lustre/osc/osc_dev.c b/lustre/osc/osc_dev.c index c06a5de..b95bdac 100644 --- a/lustre/osc/osc_dev.c +++ b/lustre/osc/osc_dev.c @@ -38,11 +38,12 @@ /* class_name2obd() */ #include +#include -#include "osc_cl_internal.h" +#include "osc_internal.h" -/** \addtogroup osc - * @{ +/** \addtogroup osc + * @{ */ struct kmem_cache *osc_lock_kmem; @@ -90,17 +91,6 @@ struct lu_kmem_descr osc_caches[] = { /***************************************************************************** * - * Type conversions. - * - */ - -static struct lu_device *osc2lu_dev(struct osc_device *osc) -{ - return &osc->od_cl.cd_lu_dev; -} - -/***************************************************************************** - * * Osc device and device type functions. * */