diff options
author | J. Bruce Fields <bfields@redhat.com> | 2017-10-24 21:58:11 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-11-08 00:44:01 +0300 |
commit | 1754eb2b27d7a58e5b9038c6297a1e7bbff4ed52 (patch) | |
tree | fbd4cff1d47017723011b408152a577d24b9880b /fs/nfsd | |
parent | 0bad47cada5defba13e98827d22d06f13258dfb3 (diff) | |
download | linux-1754eb2b27d7a58e5b9038c6297a1e7bbff4ed52.tar.xz |
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/nfsd')
0 files changed, 0 insertions, 0 deletions