OSDN Git Service

xfs: refactor the geometry structure filling function
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:51:27 +0000 (10:51 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:54:48 +0000 (10:54 -0800)
commitac503a4cc9e8ab574032e3e217ffb555f5bf2341
treeb14f57348249c8e349a01e979dd1ec6c3d2edc84
parentc368ebcd4cc3bbc08602adce083ad3cc76a15258
xfs: refactor the geometry structure filling function

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>
fs/xfs/libxfs/xfs_da_format.h
fs/xfs/libxfs/xfs_dir2.c
fs/xfs/libxfs/xfs_sb.c
fs/xfs/libxfs/xfs_sb.h
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_ioctl32.c