summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2011-09-23 13:42:43 -0700
committerBoaz Harrosh <bharrosh@panasas.com>2011-10-03 17:06:47 +0200
commit1958c7c284298f0d17a1ab3820c77c40ea3d3711 (patch)
tree38941a12ab5c7e01613c2436bd5470142c3eb7d1 /fs
parenta8f8c45082cb78489c5e6050c372ddac73ae439e (diff)
downloadop-kernel-dev-1958c7c284298f0d17a1ab3820c77c40ea3d3711.zip
op-kernel-dev-1958c7c284298f0d17a1ab3820c77c40ea3d3711.tar.gz
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/exofs/ore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/exofs/ore.c b/fs/exofs/ore.c
index 25305af..6114fdf 100644
--- a/fs/exofs/ore.c
+++ b/fs/exofs/ore.c
@@ -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;
OpenPOWER on IntegriCloud