diff options
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
| -rw-r--r-- | fs/xfs/xfs_log_recover.c | 11 | 
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index bce53ac81096..981af0f6504b 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c @@ -2138,7 +2138,9 @@ xlog_recover_validate_buf_type(  			bp->b_ops = &xfs_allocbt_buf_ops;  			break;  		case XFS_IBT_CRC_MAGIC: +		case XFS_FIBT_CRC_MAGIC:  		case XFS_IBT_MAGIC: +		case XFS_FIBT_MAGIC:  			bp->b_ops = &xfs_inobt_buf_ops;  			break;  		case XFS_BMAP_CRC_MAGIC: @@ -3145,7 +3147,7 @@ xlog_recover_efd_pass2(  		}  		lip = xfs_trans_ail_cursor_next(ailp, &cur);  	} -	xfs_trans_ail_cursor_done(ailp, &cur); +	xfs_trans_ail_cursor_done(&cur);  	spin_unlock(&ailp->xa_lock);  	return 0; @@ -3520,8 +3522,7 @@ out:  STATIC int  xlog_recover_unmount_trans( -	struct xlog		*log, -	struct xlog_recover	*trans) +	struct xlog		*log)  {  	/* Do nothing now */  	xfs_warn(log->l_mp, "%s: Unmount LR", __func__); @@ -3595,7 +3596,7 @@ xlog_recover_process_data(  								trans, pass);  				break;  			case XLOG_UNMOUNT_TRANS: -				error = xlog_recover_unmount_trans(log, trans); +				error = xlog_recover_unmount_trans(log);  				break;  			case XLOG_WAS_CONT_TRANS:  				error = xlog_recover_add_to_cont_trans(log, @@ -3757,7 +3758,7 @@ xlog_recover_process_efis(  		lip = xfs_trans_ail_cursor_next(ailp, &cur);  	}  out: -	xfs_trans_ail_cursor_done(ailp, &cur); +	xfs_trans_ail_cursor_done(&cur);  	spin_unlock(&ailp->xa_lock);  	return error;  }  |