diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-04-12 13:11:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-02 08:48:56 +0200 |
commit | 535ed3f01564a09f73389f1d0afc2e78a0a8c878 (patch) | |
tree | a43f04f872d5a8fde84223fa721fda2fa905e646 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ec6e5792d62d4c3131bfc998d2aee760a6724705 (diff) |
xfs: fix partially uninitialized structure in xfs_reflink_remap_extent
[ Upstream commit c142932c29e533ee892f87b44d8abc5719edceec ]
In the reflink extent remap function, it turns out that uirec (the block
mapping corresponding only to the part of the passed-in mapping that got
unmapped) was not fully initialized. Specifically, br_state was not
being copied from the passed-in struct to the uirec. This could lead to
unpredictable results such as the reflinked mapping being marked
unwritten in the destination file.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions