summaryrefslogtreecommitdiffstats
path: root/crypto/sm3_generic.c
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>2021-08-25 18:31:06 +0200
committerJens Axboe <axboe@kernel.dk>2021-08-25 14:20:25 -0600
commitb190300decb352a0b865d7aa379e89b17d772a43 (patch)
tree1955da9e0646722af7e53ddb4f637df9d32cba41 /crypto/sm3_generic.c
parent75b7f62aa65d5c496391ec2c3db3561aaf81a403 (diff)
downloadlinux-stable-b190300decb352a0b865d7aa379e89b17d772a43.tar.gz
linux-stable-b190300decb352a0b865d7aa379e89b17d772a43.tar.bz2
linux-stable-b190300decb352a0b865d7aa379e89b17d772a43.zip
nbd: set nbd->index before releasing nbd_index_mutex
Set nbd->index before releasing nbd_index_mutex, as populate_nbd_status() might access nbd->index as soon as nbd_index_mutex is released. Fixes: 6e4df4c64881 ("nbd: reduce the nbd_index_mutex scope") Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> [hch: split from a larger patch] Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210825163108.50713-5-hch@lst.de Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto/sm3_generic.c')
0 files changed, 0 insertions, 0 deletions