summaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex-debug.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2017-03-24 21:08:27 +0300
committerJens Axboe <axboe@fb.com>2017-03-25 00:42:47 +0300
commitc103b4dac8f69ca55196afcd57c4cdd6d3ab88eb (patch)
tree8c631a5f19867d1f327331ed4d5827f1ebc70281 /kernel/locking/rtmutex-debug.c
parent9dd5d3ab49f74e1a3fab92c432a7600bd9081ccc (diff)
downloadlinux-c103b4dac8f69ca55196afcd57c4cdd6d3ab88eb.tar.xz
nbd: set rq->errors to actual error code
We've been relying on the block layer to assume rq->errors being set translates into -EIO. I noticed in testing that sometimes this isn't true, and really there's not much of a reason to have a counter instead of just using -EIO. So set it properly so we don't leak random numbers to unsuspecting victims. Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions