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

From: Adrian Bunk
Date: Sun Jul 09 2006 - 19:31:44 EST


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@xxxxxxxxx>

--- 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)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/