diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-04-10 10:04:28 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-04-12 13:03:14 -0700 |
commit | c48bd9e1b968a148a475be169fbfa9e738906fd5 (patch) | |
tree | d4058cd769e8c7b6072559f610ec458a7742d9fe /scripts/mkuboot.sh | |
parent | 0ad53aea83d0ad19d5392278e8e73f7d7730f2bc (diff) |
xfs: fix partially uninitialized structure in xfs_reflink_remap_extent
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>
Diffstat (limited to 'scripts/mkuboot.sh')
0 files changed, 0 insertions, 0 deletions