aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index 8ab7df768063..d0c9fc4fed60 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -783,8 +783,7 @@ int
783xlog_find_tail( 783xlog_find_tail(
784 xlog_t *log, 784 xlog_t *log,
785 xfs_daddr_t *head_blk, 785 xfs_daddr_t *head_blk,
786 xfs_daddr_t *tail_blk, 786 xfs_daddr_t *tail_blk)
787 int readonly)
788{ 787{
789 xlog_rec_header_t *rhead; 788 xlog_rec_header_t *rhead;
790 xlog_op_header_t *op_head; 789 xlog_op_header_t *op_head;
@@ -3890,14 +3889,13 @@ xlog_do_recover(
3890 */ 3889 */
3891int 3890int
3892xlog_recover( 3891xlog_recover(
3893 xlog_t *log, 3892 xlog_t *log)
3894 int readonly)
3895{ 3893{
3896 xfs_daddr_t head_blk, tail_blk; 3894 xfs_daddr_t head_blk, tail_blk;
3897 int error; 3895 int error;
3898 3896
3899 /* find the tail of the log */ 3897 /* find the tail of the log */
3900 if ((error = xlog_find_tail(log, &head_blk, &tail_blk, readonly))) 3898 if ((error = xlog_find_tail(log, &head_blk, &tail_blk)))
3901 return error; 3899 return error;
3902 3900
3903 if (tail_blk != head_blk) { 3901 if (tail_blk != head_blk) {