Re: [PATCH] fs/cachefiles/namei.c: Remove duplicate header

From: Souptick Joarder
Date: Mon Mar 11 2019 - 12:03:03 EST


On Mon, Mar 11, 2019 at 9:05 PM Sabyasachi Gupta
<sabyasachi.linux@xxxxxxxxx> wrote:
>
> Remove linux/xattr.h which is included more than once
>
> Signed-off-by: Sabyasachi Gupta <sabyasachi.linux@xxxxxxxxx>

Acked-by: Souptick Joarder <jrdr.linux@xxxxxxxxx>

> ---
> fs/cachefiles/namei.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/cachefiles/namei.c b/fs/cachefiles/namei.c
> index 95983c7..edecb7f 100644
> --- a/fs/cachefiles/namei.c
> +++ b/fs/cachefiles/namei.c
> @@ -20,7 +20,6 @@
> #include <linux/namei.h>
> #include <linux/security.h>
> #include <linux/slab.h>
> -#include <linux/xattr.h>
> #include "internal.h"
>
> #define CACHEFILES_KEYBUF_SIZE 512
> --
> 2.7.4
>