Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d445048b authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman
Browse files

staging/lustre/lov: make lov_lsm_alloc() static



It's not used anywhere outside of this file.
Highlighted by sparse.

Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Reviewed-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a6c77da5
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -198,7 +198,8 @@ static int lov_verify_lmm(void *lmm, int lmm_bytes, __u16 *stripe_count)
	return rc;
	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;
	struct lov_stripe_md *lsm;
	unsigned int i;
	unsigned int i;