Просмотр исходного кода

Staging: lustre: Include header for functions prototypes

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>
Darshana Padmadas 10 лет назад
Родитель
Сommit
b5edcf2f86
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      drivers/staging/lustre/lustre/lov/lov_object.c

+ 1 - 0
drivers/staging/lustre/lustre/lov/lov_object.c

@@ -42,6 +42,7 @@
 #define DEBUG_SUBSYSTEM S_LOV
 
 #include "lov_cl_internal.h"
+#include "../include/lclient.h"
 
 /** \addtogroup lov
  *  @{