summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-29 11:59:01 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 19:06:01 +0400
commitf1e3af72c10ba74fb15864c354515ec1bd8bf2a5 (patch)
treefaf2d2f8b0264fd175acf8ed5623c74e0da908ec /fs
parent946a57b526a16e5662235cb8f573337bc8ecdc48 (diff)
downloadlinux-f1e3af72c10ba74fb15864c354515ec1bd8bf2a5.tar.xz
make fs/buffer.c:cont_expand_zero() static
cont_expand_zero() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index 22ed55198f3d..189efa4efc6e 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -2211,8 +2211,8 @@ out:
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;