[-mm patch] fs/ocfs2/file.c: make ocfs2_extend_allocation() static

From: Adrian Bunk
Date: Fri Nov 11 2005 - 11:40:51 EST


On Thu, Nov 10, 2005 at 08:35:44PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.14-mm1:
>...
> git-ocfs2.patch
>...
> Subsystem trees
>...


<-- snip -->


This patch makes the needlessly global function
ocfs2_extend_allocation() static.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.14-mm2-full/fs/ocfs2/file.c.old 2005-11-11 16:55:01.000000000 +0100
+++ linux-2.6.14-mm2-full/fs/ocfs2/file.c 2005-11-11 16:55:19.000000000 +0100
@@ -413,8 +413,8 @@
return status;
}

-int ocfs2_extend_allocation(struct inode *inode,
- u32 clusters_to_add)
+static int ocfs2_extend_allocation(struct inode *inode,
+ u32 clusters_to_add)
{
int status = 0;
int restart_func = 0;

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