]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - fs/xfs/xfs_bmap_util.c
xfs: cleanup xfs_fsb_to_db
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Aug 2019 15:56:55 +0000 (08:56 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 31 Aug 2019 05:43:58 +0000 (22:43 -0700)
commitecfc28a41cf108c112ba5a06a83b52fd6deb3129
tree51d949ff65e258312d2d567da526cf8306b02064
parentadcb0ca2330b1d88533e70026ce3f9cc5e2253b6
xfs: cleanup xfs_fsb_to_db

This function isn't a macro anymore, so remove various superflous braces,
and explicit cast that is done implicitly due to the return value, use
a normal if statement instead of trying to squeeze everything together.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_bmap_util.c