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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux