mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Hallberg <hallberg68@hotmail.com>
To: <linux-kernel@vger.kernel.org>
Subject: Re: doubt about path_walk() function
Date: Sun, 8 Mar 2009 19:11:11 +0100	[thread overview]
Message-ID: <COL116-W44867929BE0D134DE768B6DAA30@phx.gbl> (raw)


> 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

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-08 18:11 Peter Hallberg [this message]
2009-03-08 18:56 ` Mhayk Whandson
  -- 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=COL116-W44867929BE0D134DE768B6DAA30@phx.gbl \
    --to=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®