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 /fs | |
parent | 0bad47cada5defba13e98827d22d06f13258dfb3 (diff) | |
download | linux-stable-1754eb2b27d7a58e5b9038c6297a1e7bbff4ed52.tar.gz linux-stable-1754eb2b27d7a58e5b9038c6297a1e7bbff4ed52.tar.bz2 linux-stable-1754eb2b27d7a58e5b9038c6297a1e7bbff4ed52.zip |
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 'fs')
0 files changed, 0 insertions, 0 deletions