exofs/ore.c: local functions should be static
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 23 Sep 2011 20:42:43 +0000 (13:42 -0700)
committerBoaz Harrosh <bharrosh@panasas.com>
Mon, 3 Oct 2011 15:06:47 +0000 (17:06 +0200)
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>
fs/exofs/ore.c

index 25305af881983a0bd78daecdcec0c63355de0f67..6114fdffcad87c73080e517d2305d00e6fb9aceb 100644 (file)
@@ -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;