X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=fs%2Fnilfs2%2Fsegment.h;h=dca142361ccfcac8f038453ec689ee61a97012fa;hb=8ceedea7c2600a1018d20f67e766c0773b59391a;hp=82dfd6a686b9827327e0f6236990e1d5c61e5175;hpb=cfc94b2c9ac603b20db54225408df6ed80188dcd;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git diff --git a/fs/nilfs2/segment.h b/fs/nilfs2/segment.h index 82dfd6a6..dca1423 100644 --- a/fs/nilfs2/segment.h +++ b/fs/nilfs2/segment.h @@ -100,7 +100,6 @@ struct nilfs_segsum_pointer { * @sc_write_logs: List of segment buffers to hold logs under writing * @sc_segbuf_nblocks: Number of available blocks in segment buffers. * @sc_curseg: Current segment buffer - * @sc_super_root: Pointer to the super root buffer * @sc_stage: Collection stage * @sc_finfo_ptr: pointer to the current finfo struct in the segment summary * @sc_binfo_ptr: pointer to the current binfo struct in the segment summary @@ -148,7 +147,6 @@ struct nilfs_sc_info { struct list_head sc_write_logs; unsigned long sc_segbuf_nblocks; struct nilfs_segment_buffer *sc_curseg; - struct buffer_head *sc_super_root; struct nilfs_cstage sc_stage; @@ -179,7 +177,7 @@ struct nilfs_sc_info { unsigned long sc_lseg_stime; /* in 1/HZ seconds */ unsigned long sc_watermark; - struct timer_list *sc_timer; + struct timer_list sc_timer; struct task_struct *sc_task; }; @@ -219,6 +217,8 @@ enum { */ #define NILFS_SC_DEFAULT_WATERMARK 3600 +/* super.c */ +extern struct kmem_cache *nilfs_transaction_cachep; /* segment.c */ extern int nilfs_init_transaction_cache(void);