lkml.org 
[lkml]   [2009]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: doubt about path_walk() function
From
Thanks Peter.

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

\
 
 \ /
  Last update: 2009-03-08 19:59    [W:0.315 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site