Staging: lustre: Include header for functions prototypes
authorDarshana Padmadas <darshanapadmadas@gmail.com>
Sat, 28 Mar 2015 17:43:54 +0000 (23:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2015 15:33:56 +0000 (17:33 +0200)
This patch includes the header lustre/include/lclient.h that declares
the functions lov_lsm_put and lov_read_and_clear_async_rc defined in
lov_object.c.

This eliminates warnings reported by sparse:
warning: symbol was not declared. Should it be static?

Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_object.c

index 1fb1dfae6f72542dcea8f3b0fe5408768b7d78cb..a22342fa792d010d12f8fea811c9d05a44b41639 100644 (file)
@@ -42,6 +42,7 @@
 #define DEBUG_SUBSYSTEM S_LOV
 
 #include "lov_cl_internal.h"
+#include "../include/lclient.h"
 
 /** \addtogroup lov
  *  @{