]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: validate target profiles only if we are going to use them
authorIlya Dryomov <idryomov@gmail.com>
Tue, 27 Mar 2012 14:09:17 +0000 (17:09 +0300)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 27 Mar 2012 14:09:17 +0000 (17:09 +0300)
commitab423b1f559b5e2e0293e807cdde3ea9a61a0de3
treecaf0f07250c8df5cb97551088395748eb9e753ff
parent07cdde427737e532d387b5914643fcb2d920642f
Btrfs: validate target profiles only if we are going to use them

Do not run sanity checks on all target profiles unless they all will be
used.  This came up because alloc_profile_is_valid() is now more strict
than it used to be.

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