lkml.org 
[lkml]   [2004]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [3/9] Lustre VFS patches for 2.6
On Wed, 7 Jul 2004, Oleg Drokin wrote:

> Index: linus-2.6.7-bk-latest/fs/exec.c
> ===================================================================
> --- linus-2.6.7-bk-latest.orig/fs/exec.c 2004-07-07 10:56:13.395545976 +0300
> +++ linus-2.6.7-bk-latest/fs/exec.c 2004-07-07 11:38:42.869966952 +0300
> @@ -121,8 +121,9 @@
> struct nameidata nd;
> int error;
>
> + intent_init(&nd.intent.open, IT_OPEN);
> nd.intent.open.flags = FMODE_READ;
> - error = __user_walk(library, LOOKUP_FOLLOW|LOOKUP_OPEN, &nd);
> + error = user_path_walk_it(library, &nd);
> if (error)
> goto out;
>

I don't have source available right now (I'll check later) but droping
LOOKUP_FOLLOW might break autofs4.

Ian

-
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: 2005-03-22 14:04    [W:0.066 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site