fs: ext4: Fix computation of inodes per block group
authorColin Cross <ccross@android.com>
Fri, 29 Apr 2011 22:38:33 +0000 (15:38 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 22 Mar 2012 08:11:02 +0000 (01:11 -0700)
commit1f4e69ea1c2c5d8ed35c92e86f6ca1cffc6b7393
treef2c7af19ccb874034f3c16d221df93c926707a0a
parentd6079b7fe08fbbdb51ba5e90ac1e273a0919e523
fs: ext4: Fix computation of inodes per block group

857ac889cce8a486d47874db4d2f9620e7e9e5de (ext4: add interface
to advertise ext4 features in sysfs) added an error check that
exposes a bug in the computation of sbi->s_itb_per_group.  If
the number of inodes per group is not a multiple of the number
of inodes per block,

Original-Change-Id: I8c60817dbb6feb43535b567ec7ea5ee0af709c37
Signed-off-by: Colin Cross <ccross@android.com>
(cherry picked from commit 8703a0ccb0135ae0de0d7011f29eeb6dc1caa486)

Rebase-Id: R7fc03850010d565447bb8702710040f112705738
fs/ext4/super.c