Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 374843
b: refs/heads/master
c: cf79ffb
h: refs/heads/master
i:
  374841: 13ddc31
  374839: 50e9c89
v: v3
  • Loading branch information
Josef Bacik committed May 6, 2013
1 parent 2432f15 commit fdbd66f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 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: c9a9dbf2cbd1641af49bf081ca3bbe4101df3991
refs/heads/master: cf79ffb5b79e8a2b587fbf218809e691bb396c98
5 changes: 2 additions & 3 deletions trunk/fs/btrfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,9 @@ void __btrfs_std_error(struct btrfs_fs_info *fs_info, const char *function,
}

/* Don't go through full error handling during mount */
if (sb->s_flags & MS_BORN) {
save_error_info(fs_info);
save_error_info(fs_info);
if (sb->s_flags & MS_BORN)
btrfs_handle_error(fs_info);
}
}

static const char * const logtypes[] = {
Expand Down
4 changes: 4 additions & 0 deletions trunk/fs/btrfs/transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -1487,6 +1487,10 @@ static void cleanup_transaction(struct btrfs_trans_handle *trans,
current->journal_info = NULL;

kmem_cache_free(btrfs_trans_handle_cachep, trans);

spin_lock(&root->fs_info->trans_lock);
root->fs_info->trans_no_join = 0;
spin_unlock(&root->fs_info->trans_lock);
}

static int btrfs_flush_all_pending_stuffs(struct btrfs_trans_handle *trans,
Expand Down

0 comments on commit fdbd66f

Please sign in to comment.