]> 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)
commitccde31062ab04df138a8c465ca3c010148912d57
tree6353dff7355863b92b48001e76c3f00bf180916b
parentcf3c5ce18baa28507ff31756576c80ecf11ccbb9
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