浏览代码

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>
H Hartley Sweeten 13 年之前
父节点
当前提交
1958c7c284
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      fs/exofs/ore.c

+ 2 - 2
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;