summaryrefslogtreecommitdiff
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2021-12-02 12:07:16 +0300
committerJens Axboe <axboe@kernel.dk>2021-12-02 18:20:49 +0300
commit18d78171c061889a9a43152f60d6a27a10fc7656 (patch)
tree05c4db7fc4b7b64cdda8eaca0ecf447afe13e97d /mm/filemap.c
parent8a7518931baa8ea023700987f3db31cb0a80610b (diff)
downloadlinux-18d78171c061889a9a43152f60d6a27a10fc7656.tar.xz
blk-mq: check q->poll_stat in queue_poll_stat_show
Without checking q->poll_stat in queue_poll_stat_show(), kernel panic may be caused if q->poll_stat isn't allocated. Fixes: 48b5c1fbcd8c ("block: only allocate poll_stats if there's a user of them") Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20211202090716.3292244-1-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions