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

Commit 65c527b9 authored by David Wittman's avatar David Wittman Committed by Greg Kroah-Hartman
Browse files

staging: lustre: declare fiemap_for_stripe static



Declare fiemap_for_stripe as static to fix sparse warnings:

> warning: symbol 'fiemap_for_stripe' was not declared. Should it be
> static?

Signed-off-by: default avatarDavid Wittman <dwittman@gmail.com>
Acked-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d88727b5
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1141,7 +1141,7 @@ struct fiemap_state {
	bool		fs_enough;
};

int fiemap_for_stripe(const struct lu_env *env, struct cl_object *obj,
static int fiemap_for_stripe(const struct lu_env *env, struct cl_object *obj,
			     struct lov_stripe_md *lsm,
			     struct fiemap *fiemap, size_t *buflen,
			     struct ll_fiemap_info_key *fmkey, int stripeno,