commit | 71ca211772e6ea2e252993ea745f5ccfc9e90577 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Wed Aug 28 20:35:20 2019 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Aug 29 21:08:37 2019 -0700 |
tree | 23d876c447f8505b5c628b53acef2345598def6a | |
parent | 42b7f27843583ffbd75da54738c9adbb63f330d6 [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>