Re: doubt about path_walk() function

From: Mhayk Whandson
Date: Sun Mar 08 2009 - 14:56:48 EST


Thanks Peter.

On Sun, Mar 8, 2009 at 2:11 PM, Peter Hallberg <hallberg68@xxxxxxxxxxx> wrote:
>
>> 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--
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html
> Please read the FAQ at Âhttp://www.tux.org/lkml/
>



--
Mhayk Whandson
Linux User #413723
E-mail: eu@xxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/