[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <COL116-W44867929BE0D134DE768B6DAA30@phx.gbl>
Date: Sun, 8 Mar 2009 19:11:11 +0100
From: Peter Hallberg <hallberg68@...mail.com>
To: <linux-kernel@...r.kernel.org>
Subject: Re: doubt about path_walk() function
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists