]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove xfs_bmalloca firstblock field
authorBrian Foster <bfoster@redhat.com>
Fri, 5 Oct 2018 02:36:09 +0000 (21:36 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 5 Oct 2018 02:36:09 +0000 (21:36 -0500)
commit80dc7f2fb634a48c3c57330d2b85da568fb53765
treed5302355facaeaf16d74313eec76d73e359251b8
parent312350cd0e903fb08ed2cabb25c58f3556aeca4d
xfs: remove xfs_bmalloca firstblock field

Source kernel commit: 94c07b4dba01481740ce893d05a71578150b8f0b

The xfs_bmalloca.firstblock field carries the firstblock value from
the transaction into the bmap infrastructure. It's initialized in
one place from ->t_firstblock, so drop the field and access
->t_firstblock directly throughout the bmap code.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c
libxfs/xfs_bmap.h