Re: Question on porting 2.2.x driver to 2.4.x (reference namei)

From: Christoph Hellwig (
Date: Mon Jul 23 2001 - 05:48:16 EST

In article <010201c1131d$7359d150$9865fea9@optima> you wrote:
> Hi all,
> I'm trying to port iBCS to the 2.4.x kernels. One of the compile
> problems I've run into is that the 2.4.x kernel includes lack a namei()
> function definition. I figure this function has been removed however what
> is its replacement? Or at least how do I replace its functionality? The
> section of code in iBCS in which this is used looks like this:
> dentry = namei(path);
> error = PTR_ERR(dentry);
> if (!IS_ERR(dentry)) {

Take a look at linux-abi (,
specificly the file abi/svr4/xstat.c to see how to replace namei.


P.S. linux-abi does for 2.4 for iBCS did for 2.2 - and more

Whip me.  Beat me.  Make me maintain AIX.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 23 2001 - 21:00:16 EST