diff options
author | David Sterba <dsterba@suse.cz> | 2013-04-29 13:39:40 +0000 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-06 15:55:27 -0400 |
commit | b6919a58f09db5daaa29b0326d53513ee418b84b (patch) | |
tree | eb32358d905d287f6c319c7a0d2ab8b4be654c21 /fs/btrfs/ctree.h | |
parent | 410748882ac703aa0550aa6c3c5656edd0462001 (diff) | |
download | op-kernel-dev-b6919a58f09db5daaa29b0326d53513ee418b84b.zip op-kernel-dev-b6919a58f09db5daaa29b0326d53513ee418b84b.tar.gz |
btrfs: fix misleading variable name for flags
The variable was named 'data' in btrfs_reserve_extent and that's the
only function that actually uses it to let btrfs_get_alloc_profile know
what profile we want. Then it's passed down as u64 flags.
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 4272fbb..78b9d45 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -3065,7 +3065,7 @@ int btrfs_reserve_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 num_bytes, u64 min_alloc_size, u64 empty_size, u64 hint_byte, - struct btrfs_key *ins, u64 data); + struct btrfs_key *ins, int is_data); int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf, int full_backref, int for_cow); int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, |