aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-08-11 14:44:26 +0200
committerJens Axboe <axboe@kernel.dk>2021-08-13 14:17:37 -0600
commit7bdc00cf7e369b3be17f26e5643da28de98d9d6d (patch)
treeb6aa51a0dd72533cf0311de9c224c9db2813d1ae /scripts/gcc-plugins
parentnbd: remove nbd_del_disk (diff)
downloadlinux-rng-7bdc00cf7e369b3be17f26e5643da28de98d9d6d.tar.xz
linux-rng-7bdc00cf7e369b3be17f26e5643da28de98d9d6d.zip
nbd: return the allocated nbd_device from nbd_dev_add
Return the device we just allocated instead of doing an extra search for it in the caller. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210811124428.2368491-5-hch@lst.de Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions