diff options
author | J. Bruce Fields <bfields@redhat.com> | 2017-10-24 14:58:11 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-11-07 16:44:01 -0500 |
commit | 1754eb2b27d7a58e5b9038c6297a1e7bbff4ed52 (patch) | |
tree | fbd4cff1d47017723011b408152a577d24b9880b /block/blk-mq-cpumap.c | |
parent | 0bad47cada5defba13e98827d22d06f13258dfb3 (diff) |
rpc: remove some BUG()s
It would be kinder to WARN() and recover in several spots here instead
of BUG()ing.
Also, it looks like the read_u32_from_xdr_buf() call could actually
fail, though it might require a broken (or malicious) client, so convert
that to just an error return.
Reported-by: Weston Andros Adamson <dros@monkey.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'block/blk-mq-cpumap.c')
0 files changed, 0 insertions, 0 deletions