2019-03-11 15:36:21

by Sabyasachi Gupta

[permalink] [raw]
Subject: [PATCH] fs/cachefiles/namei.c: Remove duplicate header

Remove linux/xattr.h which is included more than once

Signed-off-by: Sabyasachi Gupta <[email protected]>
---
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



2019-03-11 16:05:27

by Souptick Joarder

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

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

Acked-by: Souptick Joarder <[email protected]>

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