summaryrefslogtreecommitdiffstats
path: root/include/linux/crush/mapper.h
diff options
context:
space:
mode:
authorIlya Dryomov2015-06-12 10:20:03 +0200
committerIlya Dryomov2015-06-25 10:49:31 +0200
commit8f529795bace5d6263b134f4ff3adccfc0a0cce6 (patch)
tree46f53222d34baeded01d146b1f223d33146c4e2a /include/linux/crush/mapper.h
parentceph: switch some GFP_NOFS memory allocation to GFP_KERNEL (diff)
downloadkernel-qcow2-linux-8f529795bace5d6263b134f4ff3adccfc0a0cce6.tar.gz
kernel-qcow2-linux-8f529795bace5d6263b134f4ff3adccfc0a0cce6.tar.xz
kernel-qcow2-linux-8f529795bace5d6263b134f4ff3adccfc0a0cce6.zip
crush: fix crash from invalid 'take' argument
Verify that the 'take' argument is a valid device or bucket. Otherwise ignore it (do not add the value to the working vector). Reflects ceph.git commit 9324d0a1af61e1c234cc48e2175b4e6320fff8f4. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include/linux/crush/mapper.h')
0 files changed, 0 insertions, 0 deletions