commit | e4e8abc595af08d8b0a32509a629dd3deb8a4146 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Aug 19 17:37:20 2019 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Aug 26 13:54:38 2019 -0700 |
tree | 71fe177b82dc43b310a01c976a0cc6042e1691a6 | |
parent | 6024168fcf6d0236fc34e371d2238e2f09a30500 [diff] |
xfs: reinitialize rm_flags when unpacking an offset into an rmap irec In xfs_rmap_irec_offset_unpack, we should always clear the contents of rm_flags before we begin unpacking the encoded (ondisk) offset into the incore rm_offset and incore rm_flags fields. Remove the open-coded field zeroing as this encourages api misuse. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>