kaio
[Top] [All Lists]

Problems building KAIO on 2.3.46 kernel...

To: KAIO mailing list <kaio@xxxxxxxxxxx>
Subject: Problems building KAIO on 2.3.46 kernel...
From: Christopher Smith <x@xxxxxxxx>
Date: Fri, 18 Feb 2000 12:59:06 -0800
Mail-followup-to: KAIO mailing list <kaio@xxxxxxxxxxx>
Sender: owner-kaio@xxxxxxxxxxx
User-agent: Mutt/1.1.4i
So, I finally decided to try using the 2.3.x branch of the kernel
series, and of course, I wasn't going to do it without my trust
KAIO. ;-)

Unfortunately, I'm running in to a compile time error in mm/filemap.c
inside the function 'do_kaio_generic_read'. I tracked it down and was
surprised to discover that the 'readpage' function had been removed
from the inode_operations struct. Indeed, all the "page" related
functions appear to be gone. They're now up in an
"address_space_operations" structure.

So, I'm not enough of a kernel hacker actual figure out what should be
done here, but I thought I'd make everyone aware of the problem so
that those who DO know enough can fix it.

The patch that I going to experimented with is to change the line 2113
in filemap.c from:

                if ((ret = inode->i_op->readpage(filp->f_dentry, page)))

to:

                if ((ret = inode->i_mapping->a_ops->readpage(filp->f_dentry, 
page)))

No dice, however. ;-)

--Chris

<Prev in Thread] Current Thread [Next in Thread>