xfs_repair: don't search for libxfs.h in system headers
diff mbox series

Message ID b1265852-70ea-5402-191d-b3843996fc89@redhat.com
State New
Headers show
Series
  • xfs_repair: don't search for libxfs.h in system headers
Related show

Commit Message

Eric Sandeen June 21, 2019, 3:28 p.m. UTC
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---

And now for something completely different: a noncontroversial,
trivially reviewable #include change!

(right?)

Comments

Darrick J. Wong June 21, 2019, 4:06 p.m. UTC | #1
On Fri, Jun 21, 2019 at 10:28:03AM -0500, Eric Sandeen wrote:
> Signed-off-by: Eric Sandeen <sandeen@redhat.com>

Looks ok,
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>

--D

> ---
> 
> And now for something completely different: a noncontroversial,
> trivially reviewable #include change!
> 
> (right?)
> 
> diff --git a/repair/rmap.c b/repair/rmap.c
> index 47828a06..019df71c 100644
> --- a/repair/rmap.c
> +++ b/repair/rmap.c
> @@ -3,7 +3,7 @@
>   * Copyright (C) 2016 Oracle.  All Rights Reserved.
>   * Author: Darrick J. Wong <darrick.wong@oracle.com>
>   */
> -#include <libxfs.h>
> +#include "libxfs.h"
>  #include "btree.h"
>  #include "err_protos.h"
>  #include "libxlog.h"
> diff --git a/repair/slab.c b/repair/slab.c
> index ba5c2327..d5947a5a 100644
> --- a/repair/slab.c
> +++ b/repair/slab.c
> @@ -3,7 +3,7 @@
>   * Copyright (C) 2016 Oracle.  All Rights Reserved.
>   * Author: Darrick J. Wong <darrick.wong@oracle.com>
>   */
> -#include <libxfs.h>
> +#include "libxfs.h"
>  #include "slab.h"
>  
>  #undef SLAB_DEBUG
>
Christoph Hellwig June 25, 2019, 10:49 a.m. UTC | #2
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>

Patch
diff mbox series

diff --git a/repair/rmap.c b/repair/rmap.c
index 47828a06..019df71c 100644
--- a/repair/rmap.c
+++ b/repair/rmap.c
@@ -3,7 +3,7 @@ 
  * Copyright (C) 2016 Oracle.  All Rights Reserved.
  * Author: Darrick J. Wong <darrick.wong@oracle.com>
  */
-#include <libxfs.h>
+#include "libxfs.h"
 #include "btree.h"
 #include "err_protos.h"
 #include "libxlog.h"
diff --git a/repair/slab.c b/repair/slab.c
index ba5c2327..d5947a5a 100644
--- a/repair/slab.c
+++ b/repair/slab.c
@@ -3,7 +3,7 @@ 
  * Copyright (C) 2016 Oracle.  All Rights Reserved.
  * Author: Darrick J. Wong <darrick.wong@oracle.com>
  */
-#include <libxfs.h>
+#include "libxfs.h"
 #include "slab.h"
 
 #undef SLAB_DEBUG