2020-05-12 03:58:04

by Tiezhu Yang

[permalink] [raw]
Subject: [PATCH] btrfs: Remove duplicated include in block-group.c

disk-io.h is included more than once in block-group.c, remove it.

Signed-off-by: Tiezhu Yang <[email protected]>
---
fs/btrfs/block-group.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/btrfs/block-group.c b/fs/btrfs/block-group.c
index 696f471..d3d5cf4 100644
--- a/fs/btrfs/block-group.c
+++ b/fs/btrfs/block-group.c
@@ -7,7 +7,6 @@
#include "disk-io.h"
#include "free-space-cache.h"
#include "free-space-tree.h"
-#include "disk-io.h"
#include "volumes.h"
#include "transaction.h"
#include "ref-verify.h"
--
2.1.0


2020-05-12 08:09:55

by Johannes Thumshirn

[permalink] [raw]
Subject: Re: [PATCH] btrfs: Remove duplicated include in block-group.c

Looks good,
Reviewed-by: Johannes Thumshirn <[email protected]>

2020-05-12 12:56:52

by David Sterba

[permalink] [raw]
Subject: Re: [PATCH] btrfs: Remove duplicated include in block-group.c

On Tue, May 12, 2020 at 11:55:03AM +0800, Tiezhu Yang wrote:
> disk-io.h is included more than once in block-group.c, remove it.
>
> Signed-off-by: Tiezhu Yang <[email protected]>

Applied, thanks.