diff options
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 813537f362f9..94ec71eda86b 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -3493,7 +3493,7 @@ static int update_space_info(struct btrfs_fs_info *info, u64 flags, | |||
3493 | if (!found) | 3493 | if (!found) |
3494 | return -ENOMEM; | 3494 | return -ENOMEM; |
3495 | 3495 | ||
3496 | ret = percpu_counter_init(&found->total_bytes_pinned, 0); | 3496 | ret = percpu_counter_init(&found->total_bytes_pinned, 0, GFP_KERNEL); |
3497 | if (ret) { | 3497 | if (ret) { |
3498 | kfree(found); | 3498 | kfree(found); |
3499 | return ret; | 3499 | return ret; |