diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-27 02:06:05 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-28 17:31:02 +0200 |
commit | ffb5696f7555e44c04b7c1212fcd83ddedc43498 (patch) | |
tree | fd9cfb41403bde84745a014fef273247f33665c6 /.mailmap | |
parent | xfs: remove unnecessary int returns from deferred bmap functions (diff) | |
download | linux-ffb5696f7555e44c04b7c1212fcd83ddedc43498.tar.xz linux-ffb5696f7555e44c04b7c1212fcd83ddedc43498.zip |
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>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions