* Question on porting 2.2.x driver to 2.4.x (reference namei)
@ 2001-07-23 2:16 Anthony Barbachan
2001-07-23 10:48 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Anthony Barbachan @ 2001-07-23 2:16 UTC (permalink / raw)
To: Linux Kernel Mailing List
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)) {
Thanks in advance for any help.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Question on porting 2.2.x driver to 2.4.x (reference namei)
2001-07-23 2:16 Question on porting 2.2.x driver to 2.4.x (reference namei) Anthony Barbachan
@ 2001-07-23 10:48 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2001-07-23 10:48 UTC (permalink / raw)
To: "Anthony Barbachan"; +Cc: linux-kernel
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 (ftp.openlinux.org:/pub/people/hch/linux-abi),
specificly the file abi/svr4/xstat.c to see how to replace namei.
Christoph
P.S. linux-abi does for 2.4 for iBCS did for 2.2 - and more
--
Whip me. Beat me. Make me maintain AIX.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-23 10:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-23 2:16 Question on porting 2.2.x driver to 2.4.x (reference namei) Anthony Barbachan
2001-07-23 10:48 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox