lkml.org 
[lkml]   [2006]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] fs/ocfs2/ioctl.c should #include "ioctl.h"
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@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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-10 01:35    [W:0.336 / U:40.100 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site