Re: [-mm patch] make fs/buffer.c:cont_expand_zero() static

From: Nick Piggin
Date: Thu Jun 14 2007 - 21:36:40 EST


Hi Adrian,

Thanks for doing these, but can we hold them off for now?

Thanks,
Nick


On Fri, Jun 15, 2007 at 12:15:45AM +0200, Adrian Bunk wrote:
> cont_expand_zero() can become static.
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
>
> ---
> --- linux-2.6.22-rc4-mm2/fs/buffer.c.old 2007-06-14 01:51:08.000000000 +0200
> +++ linux-2.6.22-rc4-mm2/fs/buffer.c 2007-06-14 01:51:42.000000000 +0200
> @@ -2181,8 +2181,8 @@
> return err;
> }
>
> -int cont_expand_zero(struct file *file, struct address_space *mapping,
> - loff_t pos, loff_t *bytes)
> +static int cont_expand_zero(struct file *file, struct address_space *mapping,
> + loff_t pos, loff_t *bytes)
> {
> struct inode *inode = mapping->host;
> unsigned blocksize = 1 << inode->i_blkbits;
-
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/