Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84482
b: refs/heads/master
c: 9742bb9
h: refs/heads/master
v: v3
  • Loading branch information
Lachlan McIlroy authored and Lachlan McIlroy committed Feb 7, 2008
1 parent 3b90a03 commit 0cfe6c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f71354bc3a96c657a70e36dcf980cbad6c9fc63f
refs/heads/master: 9742bb93da27737fe490eab2af9fba1efa243dcb
7 changes: 6 additions & 1 deletion trunk/fs/xfs/xfs_log_recover.c
Original file line number Diff line number Diff line change
Expand Up @@ -2912,7 +2912,12 @@ xlog_recover_process_data(
xlog_recover_new_tid(&rhash[hash], tid,
be64_to_cpu(rhead->h_lsn));
} else {
ASSERT(dp + be32_to_cpu(ohead->oh_len) <= lp);
if (dp + be32_to_cpu(ohead->oh_len) > lp) {
xlog_warn(
"XFS: xlog_recover_process_data: bad length");
WARN_ON(1);
return (XFS_ERROR(EIO));
}
flags = ohead->oh_flags & ~XLOG_END_TRANS;
if (flags & XLOG_WAS_CONT_TRANS)
flags &= ~XLOG_CONTINUE_TRANS;
Expand Down

0 comments on commit 0cfe6c8

Please sign in to comment.