2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/fs/xfs/scrub
Brian Foster ed7ef8e55c xfs: remove unused btree cursor bc_private.a.dfops field
The xfs_btree_cur.bc_private.a.dfops field is only ever initialized
by the refcountbt cursor init function. The only caller of that
function with a non-NULL dfops is from deferred completion context,
which already has attached to ->t_dfops.

In addition to that, the only actual reference of a.dfops is the
cursor duplication function, which means the field is effectively
unused.

Remove the dfops field from the bc_private.a union. Any future users
can acquire the dfops from the transaction. This patch does not
change behavior.

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>
2018-07-11 22:26:17 -07:00
..
agheader_repair.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
agheader.c xfs: move various type verifiers to common file 2018-06-08 10:07:51 -07:00
alloc.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
attr.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
bmap.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
btree.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
btree.h xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
common.c xfs: remove unused btree cursor bc_private.a.dfops field 2018-07-11 22:26:17 -07:00
common.h xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
dabtree.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
dabtree.h xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
dir.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
ialloc.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
inode.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
parent.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
quota.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
refcount.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
repair.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
repair.h xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
rmap.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
rtbitmap.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
scrub.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
scrub.h xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
symlink.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
trace.c xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
trace.h xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00
xfs_scrub.h xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00