• J. Bruce Fields's avatar
    nfsd4: downgrade some fs/nfsd/nfs4state.c BUG's · 063b0fb9
    J. Bruce Fields authored
    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>
    063b0fb9
nfs4state.c 131 KB