]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33d364b0b12d018f6f8d9218549fa55d57ea43b0
treeb14f57348249c8e349a01e979dd1ec6c3d2edc84
parent47e49b2f7bfd1ebd5a02ef3142f7b9684d826bb1
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