mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mhayk Whandson <eu@mhayk.com.br>
To: Peter Hallberg <hallberg68@hotmail.com>, linux-kernel@vger.kernel.org
Subject: Re: doubt about path_walk() function
Date: Sun, 8 Mar 2009 14:56:34 -0400	[thread overview]
Message-ID: <177c2b150903081156u687791d9ge076cb3cd07de42b@mail.gmail.com> (raw)
In-Reply-To: <COL116-W44867929BE0D134DE768B6DAA30@phx.gbl>

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

  reply	other threads:[~2009-03-08 18:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-08 18:11 Peter Hallberg
2009-03-08 18:56 ` Mhayk Whandson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-03-08 17:39 Mhayk Whandson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=177c2b150903081156u687791d9ge076cb3cd07de42b@mail.gmail.com \
    --to=eu@mhayk.com.br \
    --cc=hallberg68@hotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®