OSDN Git Service

xfs: clean up open-coded fs block unit conversions
authorDarrick J. Wong <djwong@kernel.org>
Mon, 31 May 2021 18:31:56 +0000 (11:31 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 1 Jun 2021 19:53:59 +0000 (12:53 -0700)
commita7bcb147fef39054fe324a1a988470f5da127196
treebe9978bafb04bbd0d9b6df28124dbf97b15a54fe
parent8124c8a6b35386f73523d27eacb71b5364a68c4c
xfs: clean up open-coded fs block unit conversions

Replace some open-coded fs block unit conversions with the standard
conversion macro.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
fs/xfs/libxfs/xfs_inode_buf.c
fs/xfs/xfs_iops.c