aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/the_nilfs.c
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-06-19 14:10:21 -0400
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-07-22 21:02:09 -0400
commit57a4bfc486727b68e4422031aeba427fb7262668 (patch)
tree9e151535879babada61ee3db258ef73b9ab45c3d /fs/nilfs2/the_nilfs.c
parent4762077c7b93d35e0417f66702deae3ce3a9855e (diff)
nilfs2: get rid of ns_free_segments_count
This counter is unused. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/the_nilfs.c')
-rw-r--r--fs/nilfs2/the_nilfs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nilfs2/the_nilfs.c b/fs/nilfs2/the_nilfs.c
index 9f2cb01994d0..4a9e8a059638 100644
--- a/fs/nilfs2/the_nilfs.c
+++ b/fs/nilfs2/the_nilfs.c
@@ -630,9 +630,6 @@ int init_nilfs(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi, char *data)
630 err = -EINVAL; 630 err = -EINVAL;
631 goto failed_sbh; 631 goto failed_sbh;
632 } 632 }
633 /* Dummy values */
634 nilfs->ns_free_segments_count =
635 nilfs->ns_nsegments - (nilfs->ns_segnum + 1);
636 633
637 /* Initialize gcinode cache */ 634 /* Initialize gcinode cache */
638 err = nilfs_init_gccache(nilfs); 635 err = nilfs_init_gccache(nilfs);