diff options
Diffstat (limited to 'fs/nilfs2/segment.h')
-rw-r--r-- | fs/nilfs2/segment.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nilfs2/segment.h b/fs/nilfs2/segment.h index 82dfd6a686b9..dca142361ccf 100644 --- a/fs/nilfs2/segment.h +++ b/fs/nilfs2/segment.h | |||
@@ -100,7 +100,6 @@ struct nilfs_segsum_pointer { | |||
100 | * @sc_write_logs: List of segment buffers to hold logs under writing | 100 | * @sc_write_logs: List of segment buffers to hold logs under writing |
101 | * @sc_segbuf_nblocks: Number of available blocks in segment buffers. | 101 | * @sc_segbuf_nblocks: Number of available blocks in segment buffers. |
102 | * @sc_curseg: Current segment buffer | 102 | * @sc_curseg: Current segment buffer |
103 | * @sc_super_root: Pointer to the super root buffer | ||
104 | * @sc_stage: Collection stage | 103 | * @sc_stage: Collection stage |
105 | * @sc_finfo_ptr: pointer to the current finfo struct in the segment summary | 104 | * @sc_finfo_ptr: pointer to the current finfo struct in the segment summary |
106 | * @sc_binfo_ptr: pointer to the current binfo struct in the segment summary | 105 | * @sc_binfo_ptr: pointer to the current binfo struct in the segment summary |
@@ -148,7 +147,6 @@ struct nilfs_sc_info { | |||
148 | struct list_head sc_write_logs; | 147 | struct list_head sc_write_logs; |
149 | unsigned long sc_segbuf_nblocks; | 148 | unsigned long sc_segbuf_nblocks; |
150 | struct nilfs_segment_buffer *sc_curseg; | 149 | struct nilfs_segment_buffer *sc_curseg; |
151 | struct buffer_head *sc_super_root; | ||
152 | 150 | ||
153 | struct nilfs_cstage sc_stage; | 151 | struct nilfs_cstage sc_stage; |
154 | 152 | ||
@@ -179,7 +177,7 @@ struct nilfs_sc_info { | |||
179 | unsigned long sc_lseg_stime; /* in 1/HZ seconds */ | 177 | unsigned long sc_lseg_stime; /* in 1/HZ seconds */ |
180 | unsigned long sc_watermark; | 178 | unsigned long sc_watermark; |
181 | 179 | ||
182 | struct timer_list *sc_timer; | 180 | struct timer_list sc_timer; |
183 | struct task_struct *sc_task; | 181 | struct task_struct *sc_task; |
184 | }; | 182 | }; |
185 | 183 | ||
@@ -219,6 +217,8 @@ enum { | |||
219 | */ | 217 | */ |
220 | #define NILFS_SC_DEFAULT_WATERMARK 3600 | 218 | #define NILFS_SC_DEFAULT_WATERMARK 3600 |
221 | 219 | ||
220 | /* super.c */ | ||
221 | extern struct kmem_cache *nilfs_transaction_cachep; | ||
222 | 222 | ||
223 | /* segment.c */ | 223 | /* segment.c */ |
224 | extern int nilfs_init_transaction_cache(void); | 224 | extern int nilfs_init_transaction_cache(void); |