2005-12-11 21:54:31

by Adrian Bunk

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

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


Signed-off-by: Adrian Bunk <[email protected]>

---

This patch was already sent on:
- 11 Nov 2005

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


2005-12-12 07:31:21

by Joel Becker

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

On Sun, Dec 11, 2005 at 10:54:24PM +0100, Adrian Bunk wrote:
> This patch makes the needlessly global function
> ocfs2_extend_allocation() static.

Already in our tree, from your last post, but I've been bad
about keeping the git tree up to date. It will appear tomorrow. And
feel free to keep kicking us in the butt on such topics.

Joel

>
>
> Signed-off-by: Adrian Bunk <[email protected]>
>
> ---
>
> This patch was already sent on:
> - 11 Nov 2005
>
> --- 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/

--

Life's Little Instruction Book #232

"Keep your promises."

Joel Becker
Principal Software Developer
Oracle
E-mail: [email protected]
Phone: (650) 506-8127