Re: [3/9] Lustre VFS patches for 2.6

From: Ian Kent
Date: Wed Jul 07 2004 - 19:18:16 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/