From 57c575265c5daa25874081b9d121396eb6628d4a Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Mon, 14 Sep 2015 00:18:46 -0400 Subject: [PATCH] LU-7148 osc: Remove remains of osc_ast_guard 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 Reviewed-on: http://review.whamcloud.com/16392 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Bobi Jam --- lustre/osc/osc_dev.c | 2 -- lustre/osc/osc_internal.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/lustre/osc/osc_dev.c b/lustre/osc/osc_dev.c index c340736..b511a22 100644 --- a/lustre/osc/osc_dev.c +++ b/lustre/osc/osc_dev.c @@ -92,8 +92,6 @@ struct lu_kmem_descr osc_caches[] = { } }; -struct lock_class_key osc_ast_guard_class; - /***************************************************************************** * * Type conversions. diff --git a/lustre/osc/osc_internal.h b/lustre/osc/osc_internal.h index d09bfcd..cef083f 100644 --- a/lustre/osc/osc_internal.h +++ b/lustre/osc/osc_internal.h @@ -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); -- 1.8.3.1