]> git.karo-electronics.de Git - mv-sheeva.git/commit
ext4: convert block group-relative offsets to use clusters
authorTheodore Ts'o <tytso@mit.edu>
Fri, 9 Sep 2011 22:46:51 +0000 (18:46 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 9 Sep 2011 22:46:51 +0000 (18:46 -0400)
commit3212a80a58062056bb922811071062be58d8fee1
tree0ae97cdc351f18e9090c8b33505eabe59c3da21c
parentd5b8f31007a93777cfb0603b665858fb7aebebfc
ext4: convert block group-relative offsets to use clusters

Certain parts of the ext4 code base, primarily in mballoc.c, use a
block group number and offset from the beginning of the block group.
This offset is invariably used to index into the allocation bitmap, so
change the offset to be denominated in units of clusters.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/balloc.c
fs/ext4/mballoc.h