2008-02-17 08:19:18

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] gfs2/ops_file.c should #include "ops_inode.h"

Every file should include the headers containing the prototypes for
its global functions (in this case for gfs2_set_inode_flags()).

Signed-off-by: Adrian Bunk <[email protected]>

---
34f925ebad8d18c4061536e275e33e888f827fd6 diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c
index f4842f2..64fd81c 100644
--- a/fs/gfs2/ops_file.c
+++ b/fs/gfs2/ops_file.c
@@ -39,6 +39,7 @@
#include "util.h"
#include "eaops.h"
#include "ops_address.h"
+#include "ops_inode.h"

/**
* gfs2_llseek - seek to a location in a file


2008-02-18 11:16:19

by Steven Whitehouse

[permalink] [raw]
Subject: Re: [2.6 patch] gfs2/ops_file.c should #include "ops_inode.h"

Hi,

Now in the GFS2 -nmw git tree. Thanks,

Steve.

On Sun, 2008-02-17 at 10:17 +0200, Adrian Bunk wrote:
> Every file should include the headers containing the prototypes for
> its global functions (in this case for gfs2_set_inode_flags()).
>
> Signed-off-by: Adrian Bunk <[email protected]>
>
> ---
> 34f925ebad8d18c4061536e275e33e888f827fd6 diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c
> index f4842f2..64fd81c 100644
> --- a/fs/gfs2/ops_file.c
> +++ b/fs/gfs2/ops_file.c
> @@ -39,6 +39,7 @@
> #include "util.h"
> #include "eaops.h"
> #include "ops_address.h"
> +#include "ops_inode.h"
>
> /**
> * gfs2_llseek - seek to a location in a file
>