]> asedeno.scripts.mit.edu Git - linux.git/commit
Btrfs: do not reduce profile in do_chunk_alloc()
authorIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2012 20:04:48 +0000 (22:04 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2012 20:04:48 +0000 (22:04 +0200)
commit70922617b0099f420deceb53d5dc7f4fb30d08d0
tree6353dff7355863b92b48001e76c3f00bf180916b
parentea67176ae8c024f64d85ec33873e5eadf1af7247
Btrfs: do not reduce profile in do_chunk_alloc()

Every caller of do_chunk_alloc() feeds it the reduced allocation
profile, so stop trying to reduce it one more time.  Instead check the
validity of the passed profile.

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