Loading fs/btrfs/extent-tree.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -2944,6 +2944,7 @@ int btrfs_check_data_free_space(struct inode *inode, u64 bytes) goto again; 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, " printk(KERN_ERR "no space left, need %llu, %llu bytes_used, " "%llu bytes_reserved, " "%llu bytes_pinned, " "%llu bytes_reserved, " "%llu bytes_pinned, " "%llu bytes_readonly, %llu may use %llu total\n", "%llu bytes_readonly, %llu may use %llu total\n", Loading @@ -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_readonly, (unsigned long long)data_sinfo->bytes_may_use, (unsigned long long)data_sinfo->bytes_may_use, (unsigned long long)data_sinfo->total_bytes); (unsigned long long)data_sinfo->total_bytes); #endif return -ENOSPC; return -ENOSPC; } } data_sinfo->bytes_may_use += bytes; data_sinfo->bytes_may_use += bytes; Loading Loading
fs/btrfs/extent-tree.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -2944,6 +2944,7 @@ int btrfs_check_data_free_space(struct inode *inode, u64 bytes) goto again; 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, " printk(KERN_ERR "no space left, need %llu, %llu bytes_used, " "%llu bytes_reserved, " "%llu bytes_pinned, " "%llu bytes_reserved, " "%llu bytes_pinned, " "%llu bytes_readonly, %llu may use %llu total\n", "%llu bytes_readonly, %llu may use %llu total\n", Loading @@ -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_readonly, (unsigned long long)data_sinfo->bytes_may_use, (unsigned long long)data_sinfo->bytes_may_use, (unsigned long long)data_sinfo->total_bytes); (unsigned long long)data_sinfo->total_bytes); #endif return -ENOSPC; return -ENOSPC; } } data_sinfo->bytes_may_use += bytes; data_sinfo->bytes_may_use += bytes; Loading