2019-03-11 15:29:26

by Sabyasachi Gupta

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

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

Signed-off-by: Sabyasachi Gupta <[email protected]>
---
fs/block_dev.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/block_dev.c b/fs/block_dev.c
index cdda48f..8abcdb6 100644
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
@@ -29,7 +29,6 @@
#include <linux/namei.h>
#include <linux/log2.h>
#include <linux/cleancache.h>
-#include <linux/dax.h>
#include <linux/badblocks.h>
#include <linux/task_io_accounting_ops.h>
#include <linux/falloc.h>
--
2.7.4



2019-03-11 15:50:25

by Souptick Joarder

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

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

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

> ---
> fs/block_dev.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/block_dev.c b/fs/block_dev.c
> index cdda48f..8abcdb6 100644
> --- a/fs/block_dev.c
> +++ b/fs/block_dev.c
> @@ -29,7 +29,6 @@
> #include <linux/namei.h>
> #include <linux/log2.h>
> #include <linux/cleancache.h>
> -#include <linux/dax.h>
> #include <linux/badblocks.h>
> #include <linux/task_io_accounting_ops.h>
> #include <linux/falloc.h>
> --
> 2.7.4
>