diff options
| author | Christoph Hellwig <[email protected]> | 2019-10-17 13:12:02 -0700 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2019-10-21 08:51:59 -0700 |
| commit | 2492a606b3d24ed901203bd4db19f46d112811c7 (patch) | |
| tree | d6ea4d8307d72f325afdeafe1ae385014b56d4a3 /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
| parent | 7684e2c4384d5d1f884b01ab8bff2369e4db0bff (diff) | |
xfs: initialize iomap->flags in xfs_bmbt_to_iomap
Currently we don't overwrite the flags field in the iomap in
xfs_bmbt_to_iomap. This works fine with 0-initialized iomaps on stack,
but is harmful once we want to be able to reuse an iomap in the
writeback code. Replace the shared parameter with a set of initial
flags an thus ensures the flags field is always reinitialized.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions