|
40 | 40 |
|
41 | 41 | /** |
42 | 42 | * ext3_get_group_desc() -- load group descriptor from disk |
43 | | - * @sb: super block |
| 43 | + * @sb: super block |
44 | 44 | * @block_group: given block group |
45 | 45 | * @bh: pointer to the buffer head to store the block |
46 | 46 | * group descriptor |
@@ -355,7 +355,7 @@ void ext3_init_block_alloc_info(struct inode *inode) |
355 | 355 | rsv->rsv_start = EXT3_RESERVE_WINDOW_NOT_ALLOCATED; |
356 | 356 | rsv->rsv_end = EXT3_RESERVE_WINDOW_NOT_ALLOCATED; |
357 | 357 |
|
358 | | - /* |
| 358 | + /* |
359 | 359 | * if filesystem is mounted with NORESERVATION, the goal |
360 | 360 | * reservation window size is set to zero to indicate |
361 | 361 | * block reservation is off |
@@ -681,7 +681,7 @@ bitmap_search_next_usable_block(ext3_grpblk_t start, struct buffer_head *bh, |
681 | 681 | jbd_lock_bh_state(bh); |
682 | 682 | if (jh->b_committed_data) |
683 | 683 | start = ext3_find_next_zero_bit(jh->b_committed_data, |
684 | | - maxblocks, next); |
| 684 | + maxblocks, next); |
685 | 685 | jbd_unlock_bh_state(bh); |
686 | 686 | } |
687 | 687 | return -1; |
@@ -790,10 +790,10 @@ claim_block(spinlock_t *lock, ext3_grpblk_t block, struct buffer_head *bh) |
790 | 790 | * and at last, allocate the blocks by claiming the found free bit as allocated. |
791 | 791 | * |
792 | 792 | * To set the range of this allocation: |
793 | | - * if there is a reservation window, only try to allocate block(s) from the |
| 793 | + * if there is a reservation window, only try to allocate block(s) from the |
794 | 794 | * file's own reservation window; |
795 | 795 | * Otherwise, the allocation range starts from the give goal block, ends at |
796 | | - * the block group's last block. |
| 796 | + * the block group's last block. |
797 | 797 | * |
798 | 798 | * If we failed to allocate the desired block then we may end up crossing to a |
799 | 799 | * new bitmap. In that case we must release write access to the old one via |
@@ -880,36 +880,36 @@ ext3_try_to_allocate(struct super_block *sb, handle_t *handle, int group, |
880 | 880 | } |
881 | 881 |
|
882 | 882 | /** |
883 | | - * find_next_reservable_window(): |
| 883 | + * find_next_reservable_window(): |
884 | 884 | * find a reservable space within the given range. |
885 | 885 | * It does not allocate the reservation window for now: |
886 | 886 | * alloc_new_reservation() will do the work later. |
887 | 887 | * |
888 | | - * @search_head: the head of the searching list; |
| 888 | + * @search_head: the head of the searching list; |
889 | 889 | * This is not necessarily the list head of the whole filesystem |
890 | 890 | * |
891 | 891 | * We have both head and start_block to assist the search |
892 | 892 | * for the reservable space. The list starts from head, |
893 | 893 | * but we will shift to the place where start_block is, |
894 | 894 | * then start from there, when looking for a reservable space. |
895 | 895 | * |
896 | | - * @size: the target new reservation window size |
| 896 | + * @size: the target new reservation window size |
897 | 897 | * |
898 | | - * @group_first_block: the first block we consider to start |
| 898 | + * @group_first_block: the first block we consider to start |
899 | 899 | * the real search from |
900 | 900 | * |
901 | | - * @last_block: |
| 901 | + * @last_block: |
902 | 902 | * the maximum block number that our goal reservable space |
903 | 903 | * could start from. This is normally the last block in this |
904 | 904 | * group. The search will end when we found the start of next |
905 | 905 | * possible reservable space is out of this boundary. |
906 | 906 | * This could handle the cross boundary reservation window |
907 | 907 | * request. |
908 | 908 | * |
909 | | - * basically we search from the given range, rather than the whole |
910 | | - * reservation double linked list, (start_block, last_block) |
911 | | - * to find a free region that is of my size and has not |
912 | | - * been reserved. |
| 909 | + * basically we search from the given range, rather than the whole |
| 910 | + * reservation double linked list, (start_block, last_block) |
| 911 | + * to find a free region that is of my size and has not |
| 912 | + * been reserved. |
913 | 913 | * |
914 | 914 | */ |
915 | 915 | static int find_next_reservable_window( |
@@ -962,7 +962,7 @@ static int find_next_reservable_window( |
962 | 962 | /* |
963 | 963 | * Found a reserveable space big enough. We could |
964 | 964 | * have a reservation across the group boundary here |
965 | | - */ |
| 965 | + */ |
966 | 966 | break; |
967 | 967 | } |
968 | 968 | } |
@@ -998,7 +998,7 @@ static int find_next_reservable_window( |
998 | 998 | } |
999 | 999 |
|
1000 | 1000 | /** |
1001 | | - * alloc_new_reservation()--allocate a new reservation window |
| 1001 | + * alloc_new_reservation()--allocate a new reservation window |
1002 | 1002 | * |
1003 | 1003 | * To make a new reservation, we search part of the filesystem |
1004 | 1004 | * reservation list (the list that inside the group). We try to |
|
0 commit comments