diff options
author | Brian Foster <bfoster@redhat.com> | 2018-07-11 22:26:06 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-11 22:26:06 -0700 |
commit | 8a749386498327c98c2792e19eeeaa21dafc6954 (patch) | |
tree | acb9a081a52618ec67fe77c16e88dd69a3b5f836 /fs/xfs/xfs_trans.c | |
parent | 98c1a7c0ece345dc8e34c0c85703e4df9fdfd071 (diff) | |
download | linux-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