On Monday 26 February 2007 22:56, pqf157959@sina.com wrote: > hi everyone: I use yaffs in my linux 2.6.19.2 kernel. In yaffs_fs.c 's > code 1502 line: return get_sb_bdev(fs, flags, dev_name, data, > yaffs_internal_read_super_ram); this function have 5 parameters. but in > linux 2.6.19.2 kernel file include/linux/fs.h: extern int > get_sb_bdev(struct file_system_type *fs_type, int flags, const char > *dev_name, void *data, int (*fill_super)(struct super_block *, void *, > int), struct vfsmount *mnt); the function have 6 parameters. but in > linux 2.4.18.7 kernel file include/linux/super.c static struct > super_block *get_sb_bdev(struct file_system_type *fs_type, char > *dev_name, int flags, void * data) the function have 4 parameters. I > don't know to do. how can i do? could you teach me? thank you. in below > link, have not say to do. > http://www.balloonboard.org/lurker/message/20061215.171339.ae5a1197.en.html > > from: pqfeng. It looks like you are using the yaffs tree. It is most likely better to use the yaffs2 tree in CVS because this is kept up to date. The yaffs2 tree still supports yaffs file system layout too. If you want to keep using the yaffs tree, then still look at the yaffs2 tree to understand how it hooks up. > > 2007.2.26 (my english very poor, > i hope you don't laught at me.) Your English is far better than I am in your language! -- CHarles