summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_trans.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2018-07-11 22:26:06 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-11 22:26:06 -0700
commit8a749386498327c98c2792e19eeeaa21dafc6954 (patch)
treeacb9a081a52618ec67fe77c16e88dd69a3b5f836 /fs/xfs/xfs_trans.c
parent98c1a7c0ece345dc8e34c0c85703e4df9fdfd071 (diff)
downloadlinux-riscv-8a749386498327c98c2792e19eeeaa21dafc6954.tar.gz
linux-riscv-8a749386498327c98c2792e19eeeaa21dafc6954.tar.bz2
linux-riscv-8a749386498327c98c2792e19eeeaa21dafc6954.zip
xfs: cow unwritten conversion uses uninitialized dfops
A couple COW fork unwritten extent conversion helpers pass an uninitialized dfops pointer to xfs_bmapi_write(). This does not cause problems because conversion does not use a transaction or the dfops structure for the COW fork. Drop the uninitialized usage of dfops in these codepaths and pass NULL along to xfs_bmapi_write() instead. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Carlos Maiolino <cmaiolino@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>
Diffstat (limited to 'fs/xfs/xfs_trans.c')
0 files changed, 0 insertions, 0 deletions