Skip to content

Commit

Permalink
exofs/ore.c: local functions should be static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Boaz Harrosh committed Oct 3, 2011
1 parent a8f8c45 commit 1958c7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/exofs/ore.c
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,8 @@ struct _trunc_info {
unsigned max_devs;
};

void _calc_trunk_info(struct ore_layout *layout, u64 file_offset,
struct _trunc_info *ti)
static void _calc_trunk_info(struct ore_layout *layout, u64 file_offset,
struct _trunc_info *ti)
{
unsigned stripe_unit = layout->stripe_unit;

Expand Down

0 comments on commit 1958c7c

Please sign in to comment.