lkml.org 
[lkml]   [2005]   [Nov]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateFri, 11 Nov 2005 17:40:53 +0100
FromAdrian Bunk <>
Subject[-mm patch] fs/ocfs2/file.c: make ocfs2_extend_allocation() static
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@stusta.de>

--- 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@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: 2005-11-11 17:43    [from the cache]
©2003-2008