Skip to content

Commit

Permalink
Btrfs: drop verbose enospc printk
Browse files Browse the repository at this point in the history
Less printk is good printk.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Chris Mason committed May 27, 2010
1 parent 5bdd353 commit 933b585
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -2944,6 +2944,7 @@ int btrfs_check_data_free_space(struct inode *inode, u64 bytes)
goto again;
}

#if 0 /* I hope we never need this code again, just in case */
printk(KERN_ERR "no space left, need %llu, %llu bytes_used, "
"%llu bytes_reserved, " "%llu bytes_pinned, "
"%llu bytes_readonly, %llu may use %llu total\n",
Expand All @@ -2954,6 +2955,7 @@ int btrfs_check_data_free_space(struct inode *inode, u64 bytes)
(unsigned long long)data_sinfo->bytes_readonly,
(unsigned long long)data_sinfo->bytes_may_use,
(unsigned long long)data_sinfo->total_bytes);
#endif
return -ENOSPC;
}
data_sinfo->bytes_may_use += bytes;
Expand Down

0 comments on commit 933b585

Please sign in to comment.