aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ansi_cprng.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2017-03-21 17:20:01 -0600
committerJens Axboe <axboe@fb.com>2017-03-21 17:20:01 -0600
commita83b576c9c25cf771fb0b15ec5eb2e7510ec2f5a (patch)
treebaf705377f5e7a1d330eb0ece93f68e1aafe2161 /crypto/ansi_cprng.c
parent34dbad5d26e2f4b88e60f0e9ad03f99480802812 (diff)
downloadkernel_replicant_linux-a83b576c9c25cf771fb0b15ec5eb2e7510ec2f5a.tar.gz
kernel_replicant_linux-a83b576c9c25cf771fb0b15ec5eb2e7510ec2f5a.tar.bz2
kernel_replicant_linux-a83b576c9c25cf771fb0b15ec5eb2e7510ec2f5a.zip
block: fix stacked driver stats init and free
If a driver allocates a queue for stacked usage, then it does not currently get stats allocated. This causes the later init of, eg, writeback throttling to blow up. Move the init to the queue allocation instead. Additionally, allow a NULL callback unregistration. This avoids having the caller check for that, fixing another oops on removal of a block device that doesn't have poll stats allocated. Fixes: 34dbad5d26e2 ("blk-stat: convert to callback-based statistics reporting") Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'crypto/ansi_cprng.c')
0 files changed, 0 insertions, 0 deletions