btrfs: use malloc instead of static allocation for chunk map
authorDu, Alek <alek.du@intel.com>
Tue, 29 Dec 2009 07:58:06 +0000 (23:58 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 29 Dec 2009 15:56:10 +0000 (07:56 -0800)
commitfce7534b473cd6f4d944bf23841fcc5d072b8a08
tree6f5c1744fe0fba2417fab6eefc3984f15c5ee5f1
parent6a9d8b587efec19285fc91d8a364d8328d7e9430
btrfs: use malloc instead of static allocation for chunk map

Now when we have malloc() available, use it instead of static allocation.

Signed-off-by: Alek Du <alek.du@intel.com>
LKML-Reference: <1262073486-21321-1-git-send-email-alek.du@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/btrfs/btrfs.c
core/fs/btrfs/btrfs.h