Skip to content

Commit

Permalink
Staging: lustre: Include header for functions prototypes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Darshana Padmadas authored and Greg Kroah-Hartman committed Apr 1, 2015
1 parent 80e1773 commit b5edcf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/staging/lustre/lustre/lov/lov_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#define DEBUG_SUBSYSTEM S_LOV

#include "lov_cl_internal.h"
#include "../include/lclient.h"

/** \addtogroup lov
* @{
Expand Down

0 comments on commit b5edcf2

Please sign in to comment.