diff options
| author | 2018-07-11 22:26:06 -0700 | |
|---|---|---|
| committer | 2018-07-11 22:26:06 -0700 | |
| commit | 8a749386498327c98c2792e19eeeaa21dafc6954 (patch) | |
| tree | acb9a081a52618ec67fe77c16e88dd69a3b5f836 /fs/xfs/libxfs/xfs_ialloc.c | |
| parent | xfs: update my copyrights for the writeback and iomap code (diff) | |
| download | linux-dev-8a749386498327c98c2792e19eeeaa21dafc6954.tar.xz linux-dev-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/libxfs/xfs_ialloc.c')
0 files changed, 0 insertions, 0 deletions
