]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: refactor the geometry structure filling function
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 27 Feb 2018 04:43:17 +0000 (22:43 -0600)
committerEric Sandeen <sandeen@redhat.com>
Tue, 27 Feb 2018 04:43:17 +0000 (22:43 -0600)
commitfdef0e8b6a5e20f405526d5a2979fc2695f8d62d
tree0bf051e658323dc2eacfbfc31a098f838f0bc238
parenta2a523844910af899af620bfe25aef42455c6d66
xfs: refactor the geometry structure filling function

Source kernel commit: ac503a4cc9e8ab574032e3e217ffb555f5bf2341

Refactor the geometry structure filling function to use the superblock
to fill the fields.  While we're at it, make the function less indenty
and use some whitespace to make the function easier to read.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_da_format.h
libxfs/xfs_dir2.c
libxfs/xfs_sb.c
libxfs/xfs_sb.h