Skip to content

Commit f1e3af7

Browse files
AdrianBunktorvalds
authored andcommitted
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>
1 parent 946a57b commit f1e3af7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎fs/buffer.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2211,8 +2211,8 @@ int generic_cont_expand_simple(struct inode *inode, loff_t size)
22112211
return err;
22122212
}
22132213

2214-
int cont_expand_zero(struct file *file, struct address_space *mapping,
2215-
loff_t pos, loff_t *bytes)
2214+
static int cont_expand_zero(struct file *file, struct address_space *mapping,
2215+
loff_t pos, loff_t *bytes)
22162216
{
22172217
struct inode *inode = mapping->host;
22182218
unsigned blocksize = 1 << inode->i_blkbits;

0 commit comments

Comments
 (0)