diff options
author | Dave Chinner <david@fromorbit.com> | 2015-11-10 10:20:48 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-11-10 10:20:48 +1100 |
commit | 4e14e49a91e18098fd8ef30743972e0c3cb727c1 (patch) | |
tree | d9f6d8005ccd2a3ccbb13e80c639600b1e1bd6b4 /fs/xfs/xfs_log_recover.c | |
parent | 264e89ad3412ce1e2977e5e807bcf7d20d3b0a59 (diff) | |
parent | 7a29ac474a47eb8cf212b45917683ae89d6fa13b (diff) |
Merge branch 'xfs-misc-fixes-for-4.4-3' into for-next
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r-- | fs/xfs/xfs_log_recover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index f8f1363dc045..c5ecaacdd218 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c @@ -3431,7 +3431,7 @@ xlog_recover_add_to_cont_trans( * previous record. Copy the rest of the header. */ if (list_empty(&trans->r_itemq)) { - ASSERT(len < sizeof(struct xfs_trans_header)); + ASSERT(len <= sizeof(struct xfs_trans_header)); if (len > sizeof(struct xfs_trans_header)) { xfs_warn(log->l_mp, "%s: bad header length", __func__); return -EIO; |