aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorIlya Dryomov <[email protected]>2016-01-31 13:36:05 +0000
committerIlya Dryomov <[email protected]>2016-02-04 17:25:50 +0000
commit56a4f3091dceb7dfc14dc3ef1d5f59fe39ba4447 (patch)
tree0ccfe9a3f823e53bd1880f83fcf1be815b8e7c8e /fs/btrfs/dev-replace.c
parentcrush: ensure bucket id is valid before indexing buckets array (diff)
downloadkernel-56a4f3091dceb7dfc14dc3ef1d5f59fe39ba4447.tar.gz
kernel-56a4f3091dceb7dfc14dc3ef1d5f59fe39ba4447.zip
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 <[email protected]> Reviewed-by: Sage Weil <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions