aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/disk-io.c2
-rw-r--r--fs/btrfs/transaction.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 8f4c40033e92..b01b3f4f92a9 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1117,9 +1117,7 @@ static int cleaner_kthread(void *arg)
1117 1117
1118 vfs_check_frozen(root->fs_info->sb, SB_FREEZE_WRITE); 1118 vfs_check_frozen(root->fs_info->sb, SB_FREEZE_WRITE);
1119 mutex_lock(&root->fs_info->cleaner_mutex); 1119 mutex_lock(&root->fs_info->cleaner_mutex);
1120printk("cleaner awake\n");
1121 btrfs_clean_old_snapshots(root); 1120 btrfs_clean_old_snapshots(root);
1122printk("cleaner done\n");
1123 mutex_unlock(&root->fs_info->cleaner_mutex); 1121 mutex_unlock(&root->fs_info->cleaner_mutex);
1124 1122
1125 if (freezing(current)) { 1123 if (freezing(current)) {
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index 98f422d9ab07..a8a3cb03de59 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -667,7 +667,6 @@ int btrfs_commit_transaction(struct btrfs_trans_handle *trans,
667 root->fs_info->btree_inode->i_mapping, GFP_NOFS); 667 root->fs_info->btree_inode->i_mapping, GFP_NOFS);
668 668
669 trans->transaction->in_commit = 1; 669 trans->transaction->in_commit = 1;
670printk("trans %Lu in commit\n", trans->transid);
671 cur_trans = trans->transaction; 670 cur_trans = trans->transaction;
672 if (cur_trans->list.prev != &root->fs_info->trans_list) { 671 if (cur_trans->list.prev != &root->fs_info->trans_list) {
673 prev_trans = list_entry(cur_trans->list.prev, 672 prev_trans = list_entry(cur_trans->list.prev,
@@ -748,7 +747,6 @@ printk("trans %Lu in commit\n", trans->transid);
748 kfree(pinned_copy); 747 kfree(pinned_copy);
749 748
750 cur_trans->commit_done = 1; 749 cur_trans->commit_done = 1;
751printk("trans %Lu done in commit\n", cur_trans->transid);
752 root->fs_info->last_trans_committed = cur_trans->transid; 750 root->fs_info->last_trans_committed = cur_trans->transid;
753 wake_up(&cur_trans->commit_wait); 751 wake_up(&cur_trans->commit_wait);
754 put_transaction(cur_trans); 752 put_transaction(cur_trans);