aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext2/balloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext2/balloc.c')
-rw-r--r--fs/ext2/balloc.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c
index c6c684b44ea1..8f44cef1b3ef 100644
--- a/fs/ext2/balloc.c
+++ b/fs/ext2/balloc.c
@@ -646,10 +646,9 @@ find_next_usable_block(int start, struct buffer_head *bh, int maxblocks)
646 return here; 646 return here;
647} 647}
648 648
649/* 649/**
650 * ext2_try_to_allocate() 650 * ext2_try_to_allocate()
651 * @sb: superblock 651 * @sb: superblock
652 * @handle: handle to this transaction
653 * @group: given allocation block group 652 * @group: given allocation block group
654 * @bitmap_bh: bufferhead holds the block bitmap 653 * @bitmap_bh: bufferhead holds the block bitmap
655 * @grp_goal: given target block within the group 654 * @grp_goal: given target block within the group
@@ -851,7 +850,7 @@ static int find_next_reservable_window(
851 rsv_window_remove(sb, my_rsv); 850 rsv_window_remove(sb, my_rsv);
852 851
853 /* 852 /*
854 * Let's book the whole avaliable window for now. We will check the 853 * Let's book the whole available window for now. We will check the
855 * disk bitmap later and then, if there are free blocks then we adjust 854 * disk bitmap later and then, if there are free blocks then we adjust
856 * the window size if it's larger than requested. 855 * the window size if it's larger than requested.
857 * Otherwise, we will remove this node from the tree next time 856 * Otherwise, we will remove this node from the tree next time
@@ -1358,9 +1357,9 @@ retry_alloc:
1358 goto allocated; 1357 goto allocated;
1359 } 1358 }
1360 /* 1359 /*
1361 * We may end up a bogus ealier ENOSPC error due to 1360 * We may end up a bogus earlier ENOSPC error due to
1362 * filesystem is "full" of reservations, but 1361 * filesystem is "full" of reservations, but
1363 * there maybe indeed free blocks avaliable on disk 1362 * there maybe indeed free blocks available on disk
1364 * In this case, we just forget about the reservations 1363 * In this case, we just forget about the reservations
1365 * just do block allocation as without reservations. 1364 * just do block allocation as without reservations.
1366 */ 1365 */