btrfs: cleanup duplicate bio allocating functions
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 22 Nov 2010 03:02:55 +0000 (03:02 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 22 Nov 2010 03:26:03 +0000 (22:26 -0500)
commit88f794ede7fadd4b63135b94d1561c1f2d5eb5f5
tree04e4fede4aa520bd4dfb7de7ab28f5ad38d215cc
parent0c56fa9662927354255f2f64617d1de61fc03db9
btrfs: cleanup duplicate bio allocating functions

extent_bio_alloc() and compressed_bio_alloc() are similar, cleanup
similar source code.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/compression.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h