summaryrefslogtreecommitdiffstats
path: root/block/mq-deadline.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-02-12 11:14:55 -0600
committerJens Axboe <axboe@kernel.dk>2018-02-27 15:51:37 -0700
commit0979962f5490abe75b3e2befb07a564fa0cf631b (patch)
tree57ae9ad76e537253eb4a530d0721ccfe40cbdd1c /block/mq-deadline.c
parent60eb34ec5526e264c2bbaea4f7512d714d791caf (diff)
downloadlinux-0-day-0979962f5490abe75b3e2befb07a564fa0cf631b.tar.gz
linux-0-day-0979962f5490abe75b3e2befb07a564fa0cf631b.tar.xz
nbd: fix return value in error handling path
It seems that the proper value to return in this particular case is the one contained into variable new_index instead of ret. Addresses-Coverity-ID: 1465148 ("Copy-paste error") Fixes: e46c7287b1c2 ("nbd: add a basic netlink interface") Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/mq-deadline.c')
0 files changed, 0 insertions, 0 deletions