diff options
| author | Darrick J. Wong <[email protected]> | 2020-04-12 20:11:11 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2020-04-13 15:00:23 +0000 |
| commit | c142932c29e533ee892f87b44d8abc5719edceec (patch) | |
| tree | a5b35f420a0ca5da6941567c8b975b39bf1b5a83 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | xfs: acquire superblock freeze protection on eofblocks scans (diff) | |
| download | kernel-c142932c29e533ee892f87b44d8abc5719edceec.tar.gz kernel-c142932c29e533ee892f87b44d8abc5719edceec.zip | |
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 <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
