mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-25 12:05:31 +00:00
staging:lustre: Fix externs should be avoided in .c files warning
Fix the checkpatch.pl warning 'externs should be avoided in .c files' in lustre/lov. Signed-off-by: Dulshani Gunawardhana <dulshani.gunawardhana89@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5f3a68f96d
commit
126e7dab51
@ -44,6 +44,8 @@
|
||||
#include <obd_class.h>
|
||||
|
||||
#include "lov_cl_internal.h"
|
||||
#include "lov_internal.h"
|
||||
|
||||
|
||||
struct kmem_cache *lov_lock_kmem;
|
||||
struct kmem_cache *lov_object_kmem;
|
||||
|
@ -89,6 +89,8 @@ struct lov_request_set {
|
||||
|
||||
extern struct kmem_cache *lov_oinfo_slab;
|
||||
|
||||
extern struct lu_kmem_descr lov_caches[];
|
||||
|
||||
void lov_finish_set(struct lov_request_set *set);
|
||||
|
||||
static inline void lov_get_reqset(struct lov_request_set *set)
|
||||
|
@ -2823,8 +2823,6 @@ struct obd_ops lov_obd_ops = {
|
||||
|
||||
struct kmem_cache *lov_oinfo_slab;
|
||||
|
||||
extern struct lu_kmem_descr lov_caches[];
|
||||
|
||||
int __init lov_init(void)
|
||||
{
|
||||
struct lprocfs_static_vars lvars = { 0 };
|
||||
|
Loading…
x
Reference in New Issue
Block a user