commit | 56a4f3091dceb7dfc14dc3ef1d5f59fe39ba4447 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Sun Jan 31 14:36:05 2016 +0100 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Feb 04 18:25:50 2016 +0100 |
tree | 0ccfe9a3f823e53bd1880f83fcf1be815b8e7c8e | |
parent | f224a6915f266921507bb6e50a82f87a3de5b4b5 [diff] |
crush: ensure take bucket value is valid Ensure that the take argument is a valid bucket ID before indexing the buckets array. Reflects ceph.git commit 93ec538e8a667699876b72459b8ad78966d89c61. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Sage Weil <sage@redhat.com>