]> www.infradead.org Git - users/hch/block.git/commit
nbd: move the task_recv check into nbd_size_update
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Oct 2020 08:00:47 +0000 (09:00 +0100)
committerChristoph Hellwig <hch@lst.de>
Sat, 14 Nov 2020 17:21:59 +0000 (18:21 +0100)
commit550a63d74be482c864665a857c49abfe91d6ebdc
tree19a4fe2512826f1369e9ceb6764a3f953433bfc7
parent98f9347532425ce7cfef6a98ff67b633728b70a8
nbd: move the task_recv check into nbd_size_update

nbd_size_update is about to acquire a few more callers, so lift the check
into the function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
drivers/block/nbd.c