Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242363
b: refs/heads/master
c: 7c78605
h: refs/heads/master
i:
  242361: a480c72
  242359: 8079f13
v: v3
  • Loading branch information
Coly Li authored and Theodore Ts'o committed Feb 24, 2011
1 parent 641e3d0 commit 17ab5d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 235772da3e2adb1f4d71f27ec5475093dd38b2ac
refs/heads/master: 7c786059293335412f99732c6f4c2a886eab25c2
7 changes: 6 additions & 1 deletion trunk/fs/ext4/mballoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,12 @@ static int __mb_check_buddy(struct ext4_buddy *e4b, char *file,
#define mb_check_buddy(e4b)
#endif

/* FIXME!! need more doc */
/*
* Divide blocks started from @first with length @len into
* smaller chunks with power of 2 blocks.
* Clear the bits in bitmap which the blocks of the chunk(s) covered,
* then increase bb_counters[] for corresponded chunk size.
*/
static void ext4_mb_mark_free_simple(struct super_block *sb,
void *buddy, ext4_grpblk_t first, ext4_grpblk_t len,
struct ext4_group_info *grp)
Expand Down

0 comments on commit 17ab5d0

Please sign in to comment.