mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 02:31:27 +00:00
Follow-up for r3403: builds again against kernel 2.6.27.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3405 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -908,11 +908,11 @@ out:
|
||||
}
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25) \
|
||||
&& LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 26)
|
||||
&& LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 27)
|
||||
static int kern_path(const char *name, unsigned int flags, struct path *path)
|
||||
{
|
||||
struct nameidata nd;
|
||||
int res = do_path_lookup(AT_FDCWD, name, flags, &nd);
|
||||
int res = path_lookup(name, flags, &nd);
|
||||
if (!res)
|
||||
*path = nd.path;
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user