On Sat, Sep 12, 2009 at 07:40:41AM +0200, Christoph Egger wrote: > Izumi Tsutsui wrote: > >>> Reduce diffs a bit between ext2fs_reload() and ffs_reload(). > >> It sounds like ext2fs and ffs can share some code. > > > > Many people say ext2fs is a bad mimic of ufs > > and actually both ffs and ext2fs are under sys/ufs/, > > though detailed structures (reinvented by Linux guys?) > > are somewhat different to share vfsops/vnops sources. > > This sounds some helpers and higher level functions > can be shared and that Low level functions and accessors > to the structures can't be shared.
This sounds like an arm chair philosopher. Please read the code for what is shared and what not. Joerg