]> git.baikalelectronics.ru Git - kernel.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)
commitf542dcb086a2484f8b87d5c70a67a8e75181582c
tree0ae97cdc351f18e9090c8b33505eabe59c3da21c
parentfca191ace9f7eff764286cf7303244456b0d9fc6
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