]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: remove the extents array from the rmap update done log item
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 10 Aug 2016 04:54:46 +0000 (14:54 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 10 Aug 2016 04:54:46 +0000 (14:54 +1000)
Source kernel commit: 722e251770306ee325151b28e40b5d7e5497d687

Nothing ever uses the extent array in the rmap update done redo
item, so remove it before it is fixed in the on-disk log format.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/xfs_log_format.h

index 06d00bd51c894d72f243aba5fad777f913c9685f..96c701070292335ff937a5d5ba3f6d6feaa54dfb 100644 (file)
@@ -658,9 +658,8 @@ struct xfs_rui_log_format {
 struct xfs_rud_log_format {
        __uint16_t              rud_type;       /* rud log item type */
        __uint16_t              rud_size;       /* size of this item */
-       __uint32_t              rud_nextents;   /* # of extents freed */
+       __uint32_t              __pad;
        __uint64_t              rud_rui_id;     /* id of corresponding rui */
-       struct xfs_map_extent   rud_extents[1]; /* array of extents rmapped */
 };
 
 /*