aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/balloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/balloc.c')
-rw-r--r--fs/ext4/balloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c
index bd30799a43ed..a12cefc20c76 100644
--- a/fs/ext4/balloc.c
+++ b/fs/ext4/balloc.c
@@ -489,7 +489,7 @@ error_return:
489 * Check if filesystem has nblocks free & available for allocation. 489 * Check if filesystem has nblocks free & available for allocation.
490 * On success return 1, return 0 on failure. 490 * On success return 1, return 0 on failure.
491 */ 491 */
492int ext4_has_free_blocks(struct ext4_sb_info *sbi, s64 nblocks) 492static int ext4_has_free_blocks(struct ext4_sb_info *sbi, s64 nblocks)
493{ 493{
494 s64 free_blocks, dirty_blocks, root_blocks; 494 s64 free_blocks, dirty_blocks, root_blocks;
495 struct percpu_counter *fbc = &sbi->s_freeblocks_counter; 495 struct percpu_counter *fbc = &sbi->s_freeblocks_counter;