summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log_priv.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-04-12 13:11:11 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-04-13 08:00:23 -0700
commitc142932c29e533ee892f87b44d8abc5719edceec (patch)
treea5b35f420a0ca5da6941567c8b975b39bf1b5a83 /fs/xfs/xfs_log_priv.h
parent4b674b9ac852937af1f8c62f730c325fb6eadcdb (diff)
xfs: fix partially uninitialized structure in xfs_reflink_remap_extentxfs-5.7-fixes-1
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>
Diffstat (limited to 'fs/xfs/xfs_log_priv.h')
0 files changed, 0 insertions, 0 deletions