aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nilfs2/the_nilfs.c3
-rw-r--r--fs/nilfs2/the_nilfs.h2
2 files changed, 0 insertions, 5 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);
diff --git a/fs/nilfs2/the_nilfs.h b/fs/nilfs2/the_nilfs.h
index 85df47f0730f..191560ec2e7f 100644
--- a/fs/nilfs2/the_nilfs.h
+++ b/fs/nilfs2/the_nilfs.h
@@ -73,7 +73,6 @@ enum {
73 * @ns_last_seq: sequence value of the latest segment 73 * @ns_last_seq: sequence value of the latest segment
74 * @ns_last_cno: checkpoint number of the latest segment 74 * @ns_last_cno: checkpoint number of the latest segment
75 * @ns_prot_seq: least sequence number of segments which must not be reclaimed 75 * @ns_prot_seq: least sequence number of segments which must not be reclaimed
76 * @ns_free_segments_count: counter of free segments
77 * @ns_segctor_sem: segment constructor semaphore 76 * @ns_segctor_sem: segment constructor semaphore
78 * @ns_dat: DAT file inode 77 * @ns_dat: DAT file inode
79 * @ns_cpfile: checkpoint file inode 78 * @ns_cpfile: checkpoint file inode
@@ -150,7 +149,6 @@ struct the_nilfs {
150 u64 ns_last_seq; 149 u64 ns_last_seq;
151 __u64 ns_last_cno; 150 __u64 ns_last_cno;
152 u64 ns_prot_seq; 151 u64 ns_prot_seq;
153 unsigned long ns_free_segments_count;
154 152
155 struct rw_semaphore ns_segctor_sem; 153 struct rw_semaphore ns_segctor_sem;
156 154