xfs: remove unnecessary shifts
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)
commit20bd8e63f30be23ff544d6bd77fc3b933464100b
treee92f47b43da381db60897a260a840e03e42610c9
parenta7bcb147fef39054fe324a1a988470f5da127196
xfs: remove unnecessary shifts

The superblock verifier already validates that (1 << blocklog) ==
blocksize, so use the value directly instead of doing math.

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/xfs_bmap_util.c