Re: [Yaffs] compilling yaffs error!

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: ian@brightstareng.com
Date:  
To: yaffs
Subject: Re: [Yaffs] compilling yaffs error!
pqfeng,

On Monday 26 February 2007 04:56, wrote:
> 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.


Just add the new argument to the yaffs function and pass it on
to the linux fs function get_sb_bdev(). See some of the other
linux filesystems for comparison.

-imcd