Whamcloud - gitweb
LU-7148 osc: Remove remains of osc_ast_guard 92/16392/2
authorOleg Drokin <oleg.drokin@intel.com>
Mon, 14 Sep 2015 04:18:46 +0000 (00:18 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 9 Dec 2015 03:09:28 +0000 (03:09 +0000)
osc_ast_guard has been removed by the clio simplification.
Remove the extern declaartion and lock class definition.

Change-Id: Ibcf14e7aebe1dab8b586d3cd8d81560f6d3dcc81
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/16392
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
lustre/osc/osc_dev.c
lustre/osc/osc_internal.h

index c340736..b511a22 100644 (file)
@@ -92,8 +92,6 @@ struct lu_kmem_descr osc_caches[] = {
         }
 };
 
-struct lock_class_key osc_ast_guard_class;
-
 /*****************************************************************************
  *
  * Type conversions.
index d09bfcd..cef083f 100644 (file)
@@ -138,9 +138,7 @@ long osc_lru_shrink(const struct lu_env *env, struct client_obd *cli,
 unsigned long osc_lru_reserve(struct client_obd *cli, unsigned long npages);
 void osc_lru_unreserve(struct client_obd *cli, unsigned long npages);
 
-extern spinlock_t osc_ast_guard;
 extern struct lu_kmem_descr osc_caches[];
-extern struct lock_class_key osc_ast_guard_class;
 
 unsigned long osc_ldlm_weigh_ast(struct ldlm_lock *dlmlock);