Add a min size parameter to btrfs_alloc_extent
[linux-2.6-block.git] / fs / btrfs / ctree.h
index e803c4daad216bd5cd4db47043b831d5a7c3441f..09d614fcafb135c8892e2c684e573d473b61fee2 100644 (file)
@@ -1286,7 +1286,8 @@ int btrfs_insert_extent_backref(struct btrfs_trans_handle *trans,
                                 u64 owner, u64 owner_offset);
 int btrfs_alloc_extent(struct btrfs_trans_handle *trans,
                       struct btrfs_root *root,
-                      u64 num_bytes, u64 root_objectid, u64 ref_generation,
+                      u64 num_bytes, u64 min_bytes,
+                      u64 root_objectid, u64 ref_generation,
                       u64 owner, u64 owner_offset,
                       u64 empty_size, u64 hint_byte,
                       u64 search_end, struct btrfs_key *ins, int data);