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>
This commit is contained in:
parent
946a57b526
commit
f1e3af72c1
1 changed files with 2 additions and 2 deletions
|
@ -2211,8 +2211,8 @@ int generic_cont_expand_simple(struct inode *inode, loff_t size)
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cont_expand_zero(struct file *file, struct address_space *mapping,
|
static int cont_expand_zero(struct file *file, struct address_space *mapping,
|
||||||
loff_t pos, loff_t *bytes)
|
loff_t pos, loff_t *bytes)
|
||||||
{
|
{
|
||||||
struct inode *inode = mapping->host;
|
struct inode *inode = mapping->host;
|
||||||
unsigned blocksize = 1 << inode->i_blkbits;
|
unsigned blocksize = 1 << inode->i_blkbits;
|
||||||
|
|
Loading…
Reference in a new issue