diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2009-01-05 22:20:24 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-01-05 22:20:24 -0500 |
commit | 560671a0d3c9ad2d647fa6d09375a262e1f19c4f (patch) | |
tree | a52673326726062d53b35643d51a16739cd804fc /fs/ext4/inode.c | |
parent | e8134b27e351e813414da3b95aa8eac6d3908088 (diff) |
ext4: Use high 16 bits of the block group descriptor's free counts fields
Rename the lower bits with suffix _lo and add helper
to access the values. Also rename bg_itable_unused_hi
to bg_pad as in e2fsprogs.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r-- | fs/ext4/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index bcd5ffa76c0b..56142accf5cd 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -4014,7 +4014,7 @@ make_io: | |||
4014 | num = EXT4_INODES_PER_GROUP(sb); | 4014 | num = EXT4_INODES_PER_GROUP(sb); |
4015 | if (EXT4_HAS_RO_COMPAT_FEATURE(sb, | 4015 | if (EXT4_HAS_RO_COMPAT_FEATURE(sb, |
4016 | EXT4_FEATURE_RO_COMPAT_GDT_CSUM)) | 4016 | EXT4_FEATURE_RO_COMPAT_GDT_CSUM)) |
4017 | num -= le16_to_cpu(gdp->bg_itable_unused); | 4017 | num -= ext4_itable_unused_count(sb, gdp); |
4018 | table += num / inodes_per_block; | 4018 | table += num / inodes_per_block; |
4019 | if (end > table) | 4019 | if (end > table) |
4020 | end = table; | 4020 | end = table; |