[Ocfs2-devel] [-mm patch] fs/ocfs2/ioctl.c should #include "ioctl.h"

Adrian Bunk bunk at stusta.de
Sun Jul 9 18:32:51 CDT 2006


On Sun, Jul 09, 2006 at 02:11:06AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.17-mm6:
>...
>  git-ocfs2.patch
>...
>  git trees
>...

Every file should #include the headers containing the prototypes for its 
global functions.

Signed-off-by: Adrian Bunk <bunk at stusta.de>

--- linux-2.6.18-rc1-mm1-full/fs/ocfs2/ioctl.c.old	2006-07-09 20:04:41.000000000 +0200
+++ linux-2.6.18-rc1-mm1-full/fs/ocfs2/ioctl.c	2006-07-09 20:07:00.000000000 +0200
@@ -18,6 +18,8 @@
 #include "journal.h"
 
 #include "ocfs2_fs.h"
+#include "ioctl.h"
+
 #include <linux/ext2_fs.h>
 
 static int ocfs2_get_inode_attr(struct inode *inode, unsigned *flags)




More information about the Ocfs2-devel mailing list