Re: [RESEND] [PATCH] linux/fs.h should include linux/path.h

From: Adrian Bunk
Date: Sun Jul 27 2008 - 11:59:40 EST


On Sun, Jul 27, 2008 at 02:34:22PM +0200, Niels de Vos wrote:
> <linux/fs.h> defines 'struct file' which uses 'struct path'. However
> <linux/path.h> is not being included.
>
> Signed-off-by: Niels de Vos <niels.devos@xxxxxxxxxxxxxxxxxx>
>
> ---
> diff --git a/include/linux/fs.h b/include/linux/fs.h
> index d8e2762..a14f1c4 100644
> --- a/include/linux/fs.h
> +++ b/include/linux/fs.h
> @@ -289,6 +289,7 @@ extern int dir_notify_enable;
> #include <linux/mutex.h>
> #include <linux/capability.h>
> #include <linux/semaphore.h>
> +#include <linux/path.h>
>...

This #include was recently added a few lines above.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
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/