mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 17:03:47 -04:00
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: David Wittman <dwittman@gmail.com> Acked-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d88727b573
commit
65c527b985
@@ -1141,11 +1141,11 @@ struct fiemap_state {
|
||||
bool fs_enough;
|
||||
};
|
||||
|
||||
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,
|
||||
struct fiemap_state *fs)
|
||||
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,
|
||||
struct fiemap_state *fs)
|
||||
{
|
||||
struct cl_object *subobj;
|
||||
struct lov_obd *lov = lu2lov_dev(obj->co_lu.lo_dev)->ld_lov;
|
||||
|
||||
Reference in New Issue
Block a user