summaryrefslogtreecommitdiffstats
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2014-05-12 10:06:27 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-05-12 10:06:27 -0400
commitbd63f6b0cd577e94846869db0c86a7b2bee79b26 (patch)
tree0ed548caaaacd22a93dbf018768e6497e3df7b34 /fs/fs_struct.c
parent230b8c1a7b388ac5e06549a7dbe083568875804e (diff)
downloadop-kernel-dev-bd63f6b0cd577e94846869db0c86a7b2bee79b26.zip
op-kernel-dev-bd63f6b0cd577e94846869db0c86a7b2bee79b26.tar.gz
ext4: find the group descriptors on a 1k-block bigalloc,meta_bg filesystem
On a filesystem with a 1k block size, the group descriptors live in block 2, not block 1. If the filesystem has bigalloc,meta_bg set, however, the calculation of the group descriptor table location does not take this into account and returns the wrong block number. Fix the calculation to return the correct value for this case. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud