staging: lustre: resolves sparse warnings using static declaration
authorLe Tan <tamlok@live.com>
Wed, 11 Feb 2015 04:13:14 +0000 (12:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 01:28:34 +0000 (17:28 -0800)
commit12e397cdfba7e1a2dead072dba3e7bb21905f6c7
tree3c1b79772c40ab9f6ee670efb8a6ecf0fa577a9f
parent43a9a85aa1ca14f5c477eb1ecadd54ebe1f4b6da
staging: lustre: resolves sparse warnings using static declaration

This patch resolves sparse warnings about non-declared symbol in
staging/lustre/lustre/lov by adding static declaration.
These warnings are like this:
warning: symbol 'fiemap_calc_fm_end_offset' was not declared. Should it be static?

Signed-off-by: Le Tan <tamlok@live.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_ea.c
drivers/staging/lustre/lustre/lov/lov_obd.c
drivers/staging/lustre/lustre/lov/lov_object.c
drivers/staging/lustre/lustre/lov/lov_pool.c
drivers/staging/lustre/lustre/lov/lproc_lov.c