summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-08-03 12:28:43 +1000
committerDave Chinner <david@fromorbit.com>2016-08-03 12:28:43 +1000
commit722e251770306ee325151b28e40b5d7e5497d687 (patch)
treee08729ba5724bf31c9b6df0331bbb0359ab5ecc1 /fs/xfs/xfs_log_recover.c
parentc1d22ae89cf6086d6a457b3b9241fcb36ebddd14 (diff)
downloadop-kernel-dev-722e251770306ee325151b28e40b5d7e5497d687.zip
op-kernel-dev-722e251770306ee325151b28e40b5d7e5497d687.tar.gz
xfs: remove the extents array from the rmap update done log item
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>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index e51fd2b..e8638fd 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -3482,9 +3482,7 @@ xlog_recover_rud_pass2(
struct xfs_ail *ailp = log->l_ailp;
rud_formatp = item->ri_buf[0].i_addr;
- ASSERT(item->ri_buf[0].i_len == (sizeof(struct xfs_rud_log_format) +
- ((rud_formatp->rud_nextents - 1) *
- sizeof(struct xfs_map_extent))));
+ ASSERT(item->ri_buf[0].i_len == sizeof(struct xfs_rud_log_format));
rui_id = rud_formatp->rud_rui_id;
/*
OpenPOWER on IntegriCloud