mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: doubt about path_walk() function
@ 2009-03-08 18:11 Peter Hallberg
  2009-03-08 18:56 ` Mhayk Whandson
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Hallberg @ 2009-03-08 18:11 UTC (permalink / raw)
  To: linux-kernel


> linuxshield/scan.c|998| error: implicit declaration of function ‘path_walk’
> Searching in the internet, I can see that this function was removed in
> one some kernel version, so how can I fix this problem ?

It has been replaced with vfs_path_lookup, the fix for another fs looks like this:
-    ret = path_walk(cachename, &nd);
+    ret = vfs_path_lookup(nnpfsp->cachedir, nnpfsp->cacheroot,
+			  cachename,
+			  flags & O_CREAT ? LOOKUP_PARENT : 0,
+			  &nd);


_________________________________________________________________
Dela foton på ett smidigt sätt med Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/products/photos.aspx

^ permalink raw reply	[flat|nested] 3+ messages in thread
* doubt about path_walk() function
@ 2009-03-08 17:39 Mhayk Whandson
  0 siblings, 0 replies; 3+ messages in thread
From: Mhayk Whandson @ 2009-03-08 17:39 UTC (permalink / raw)
  To: linux-kernel

Hi all,

I am trying to compile the project McAfee LinuxShield with kernel
2.6.27-9 and I have a problem with function path_walk():
linuxshield/scan.c|998| error: implicit declaration of function ‘path_walk’

Searching in the internet, I can see that this function was removed in
one some kernel version, so how can I fix this problem ?

best regards,

-- 
Mhayk Whandson
Linux User #413723
E-mail: eu@mhayk.com.br

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-08 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-08 18:11 doubt about path_walk() function Peter Hallberg
2009-03-08 18:56 ` Mhayk Whandson
  -- strict thread matches above, loose matches on Subject: below --
2009-03-08 17:39 Mhayk Whandson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®