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.
2007.2.26
(my english very poor, i hope you don't laught at me.)