Skip to content
Commit 063b0fb9 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd4: downgrade some fs/nfsd/nfs4state.c BUG's



Linus has pointed out that indiscriminate use of BUG's can make it
harder to diagnose bugs because they can bring a machine down, often
before we manage to get any useful debugging information to the logs.
(Consider, for example, a BUG() that fires in a workqueue, or while
holding a spinlock).

Most of these BUG's won't do much more than kill an nfsd thread, but it
would still probably be safer to get out the warning without dying.

There's still more of this to do in nfsd/.

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent ffe1137b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment