summaryrefslogtreecommitdiff
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2017-10-24 14:58:11 -0400
committerJ. Bruce Fields <bfields@redhat.com>2017-11-07 16:44:01 -0500
commit1754eb2b27d7a58e5b9038c6297a1e7bbff4ed52 (patch)
treefbd4cff1d47017723011b408152a577d24b9880b /mm/swap_state.c
parent0bad47cada5defba13e98827d22d06f13258dfb3 (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 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions