aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-04-23 04:35:23 -0400
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-05-09 22:32:31 -0400
commit4e819509cba664e7cbfba5c4d1517df4dfda86f5 (patch)
treeade615c9d48d18e31a6906ac0955339e917a2a48 /fs/nilfs2
parentdb55d92252c07c0e5561966ecca95c6f332dd892 (diff)
nilfs2: make nilfs_sc_*_ops static
This kills the following sparse warnings: fs/nilfs2/segment.c:567:28: warning: symbol 'nilfs_sc_file_ops' was not declared. Should it be static? fs/nilfs2/segment.c:617:28: warning: symbol 'nilfs_sc_dat_ops' was not declared. Should it be static? fs/nilfs2/segment.c:625:28: warning: symbol 'nilfs_sc_dsync_ops' was not declared. Should it be static? Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2')
-rw-r--r--fs/nilfs2/segment.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nilfs2/segment.c b/fs/nilfs2/segment.c
index 8b4e280b96b4..c9201649cc49 100644
--- a/fs/nilfs2/segment.c
+++ b/fs/nilfs2/segment.c
@@ -564,7 +564,7 @@ static void nilfs_write_file_node_binfo(struct nilfs_sc_info *sci,
564 *vblocknr = binfo->bi_v.bi_vblocknr; 564 *vblocknr = binfo->bi_v.bi_vblocknr;
565} 565}
566 566
567struct nilfs_sc_operations nilfs_sc_file_ops = { 567static struct nilfs_sc_operations nilfs_sc_file_ops = {
568 .collect_data = nilfs_collect_file_data, 568 .collect_data = nilfs_collect_file_data,
569 .collect_node = nilfs_collect_file_node, 569 .collect_node = nilfs_collect_file_node,
570 .collect_bmap = nilfs_collect_file_bmap, 570 .collect_bmap = nilfs_collect_file_bmap,
@@ -614,7 +614,7 @@ static void nilfs_write_dat_node_binfo(struct nilfs_sc_info *sci,
614 *binfo_dat = binfo->bi_dat; 614 *binfo_dat = binfo->bi_dat;
615} 615}
616 616
617struct nilfs_sc_operations nilfs_sc_dat_ops = { 617static struct nilfs_sc_operations nilfs_sc_dat_ops = {
618 .collect_data = nilfs_collect_dat_data, 618 .collect_data = nilfs_collect_dat_data,
619 .collect_node = nilfs_collect_file_node, 619 .collect_node = nilfs_collect_file_node,
620 .collect_bmap = nilfs_collect_dat_bmap, 620 .collect_bmap = nilfs_collect_dat_bmap,
@@ -622,7 +622,7 @@ struct nilfs_sc_operations nilfs_sc_dat_ops = {
622 .write_node_binfo = nilfs_write_dat_node_binfo, 622 .write_node_binfo = nilfs_write_dat_node_binfo,
623}; 623};
624 624
625struct nilfs_sc_operations nilfs_sc_dsync_ops = { 625static struct nilfs_sc_operations nilfs_sc_dsync_ops = {
626 .collect_data = nilfs_collect_file_data, 626 .collect_data = nilfs_collect_file_data,
627 .collect_node = NULL, 627 .collect_node = NULL,
628 .collect_bmap = NULL, 628 .collect_bmap = NULL,