diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 276b5511ff80..f4b0aecdaac7 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c @@ -6365,6 +6365,7 @@ next: error: if (wc.trans) btrfs_end_transaction(wc.trans); + clear_bit(BTRFS_FS_LOG_RECOVERING, &fs_info->flags); btrfs_free_path(path); return ret; }