Re: [Yaffs] yaffs with kernel 2.6.25: no more iget()

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Dirk Behme
Date:  
To: yaffs
Subject: Re: [Yaffs] yaffs with kernel 2.6.25: no more iget()
Matthias Fuchs wrote:
> Hi,
>
> did anybody spend some time in compiling yaffs for 2.6.25-rcX?
> In February the iget() call got lost. So current yaffs does not compile in recent kernels
> anymore.


Yes, you are right. With 2.6.25-rc6 I get

   CC      fs/yaffs2/yaffs_fs.o
fs/yaffs2/yaffs_fs.c:287: error: unknown field 'read_inode' specified 
in initializer
fs/yaffs2/yaffs_fs.c:287: warning: initialization from incompatible 
pointer type
fs/yaffs2/yaffs_fs.c: In function 'yaffs_get_inode':
fs/yaffs2/yaffs_fs.c:847: error: implicit declaration of function 'iget'
fs/yaffs2/yaffs_fs.c:847: warning: assignment makes pointer from 
integer without a cast


Seems that this changed with

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=12debc4248a4a7f1873e47cda2cdd7faca80b099

Looking at the quite good patch comment, fixing this should be easy (?).

Anybody with a patch?

Thanks

Dirk