summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2015-11-10 00:20:48 +0100
committerDave Chinner <david@fromorbit.com>2015-11-10 00:20:48 +0100
commit4e14e49a91e18098fd8ef30743972e0c3cb727c1 (patch)
treed9f6d8005ccd2a3ccbb13e80c639600b1e1bd6b4 /fs/xfs/xfs_log_recover.c
parentMerge branch 'xfs-dax-updates' into for-next (diff)
parentxfs: give all workqueues rescuer threads (diff)
downloadlinux-4e14e49a91e18098fd8ef30743972e0c3cb727c1.tar.xz
linux-4e14e49a91e18098fd8ef30743972e0c3cb727c1.zip
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.c2
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;