.. | .. |
---|
924 | 924 | if (lsn && lsn != -1 && XFS_LSN_CMP(lsn, current_lsn) >= 0) { |
---|
925 | 925 | trace_xfs_log_recover_buf_skip(log, buf_f); |
---|
926 | 926 | xlog_recover_validate_buf_type(mp, bp, buf_f, NULLCOMMITLSN); |
---|
| 927 | + |
---|
| 928 | + /* |
---|
| 929 | + * We're skipping replay of this buffer log item due to the log |
---|
| 930 | + * item LSN being behind the ondisk buffer. Verify the buffer |
---|
| 931 | + * contents since we aren't going to run the write verifier. |
---|
| 932 | + */ |
---|
| 933 | + if (bp->b_ops) { |
---|
| 934 | + bp->b_ops->verify_read(bp); |
---|
| 935 | + error = bp->b_error; |
---|
| 936 | + } |
---|
927 | 937 | goto out_release; |
---|
928 | 938 | } |
---|
929 | 939 | |
---|