Btrfs: add wrappers for working with alloc profiles
authorIlya Dryomov <idryomov@gmail.com>
Tue, 27 Mar 2012 14:09:16 +0000 (17:09 +0300)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 27 Mar 2012 14:09:16 +0000 (17:09 +0300)
commit899c81eac890bcfa5f3636f4c43f68e8393ac1f8
treef2a202c25edd6a58a4c0018db03617b6b0c46fc8
parente3176ca2769e420f64eba4b093bbddea6d7a89c3
Btrfs: add wrappers for working with alloc profiles

Add functions to abstract the conversion between chunk and extended
allocation profile formats and switch everybody to use them.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/volumes.c