Commit 126e7dab authored by Dulshani Gunawardhana's avatar Dulshani Gunawardhana Committed by Greg Kroah-Hartman
Browse files

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: default avatarDulshani Gunawardhana <dulshani.gunawardhana89@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5f3a68f9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
+2 −0
Original line number Diff line number Diff line
@@ -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)
+0 −2
Original line number Diff line number Diff line
@@ -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 };