staging/lustre/lov: make lov_lsm_alloc() static
It's not used anywhere outside of this file. Highlighted by sparse. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Reviewed-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a6c77da5ff
commit
d445048b4a
@ -198,7 +198,8 @@ static int lov_verify_lmm(void *lmm, int lmm_bytes, __u16 *stripe_count)
|
||||
return rc;
|
||||
}
|
||||
|
||||
struct lov_stripe_md *lov_lsm_alloc(u16 stripe_count, u32 pattern, u32 magic)
|
||||
static struct lov_stripe_md *lov_lsm_alloc(u16 stripe_count, u32 pattern,
|
||||
u32 magic)
|
||||
{
|
||||
struct lov_stripe_md *lsm;
|
||||
unsigned int i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user