Btrfs: fix type mismatch in find_free_extent()
authorIlya Dryomov <idryomov@gmail.com>
Sat, 18 Jun 2011 20:26:38 +0000 (20:26 +0000)
committerChris Mason <chris.mason@oracle.com>
Sat, 25 Jun 2011 13:31:06 +0000 (09:31 -0400)
commite0f5406727f1dfdc47b8ba4a0ff6eae4b0b5ed4c
tree85c481aae5bb4998b832e15b2e62a4987a76127b
parent1973f0faeb4a5f35597793c65d3c94d8fd386e10
Btrfs: fix type mismatch in find_free_extent()

data parameter should be u64 because a full-sized chunk flags field is
passed instead of 0/1 for distinguishing data from metadata.  All
underlying functions expect u64.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c