]> git.baikalelectronics.ru Git - kernel.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)
commit20929091f14e1bd2465db6c56c4e21c87c27476b
tree6353dff7355863b92b48001e76c3f00bf180916b
parent73b1f9b7c28421ee6c2f260e20283a3fd2846552
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