提交 f1e3af72 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

make fs/buffer.c:cont_expand_zero() static

cont_expand_zero() can become static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 946a57b5
......@@ -2211,8 +2211,8 @@ int generic_cont_expand_simple(struct inode *inode, loff_t size)
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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册