exofs/ore.c: local functions should be static
This quiets the sparse noise: warning: symbol '_calc_trunk_info' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
This commit is contained in:
parent
a8f8c45082
commit
1958c7c284
1 changed files with 2 additions and 2 deletions
|
@ -753,8 +753,8 @@ struct _trunc_info {
|
||||||
unsigned max_devs;
|
unsigned max_devs;
|
||||||
};
|
};
|
||||||
|
|
||||||
void _calc_trunk_info(struct ore_layout *layout, u64 file_offset,
|
static void _calc_trunk_info(struct ore_layout *layout, u64 file_offset,
|
||||||
struct _trunc_info *ti)
|
struct _trunc_info *ti)
|
||||||
{
|
{
|
||||||
unsigned stripe_unit = layout->stripe_unit;
|
unsigned stripe_unit = layout->stripe_unit;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue