• J
    nfsd4: downgrade some fs/nfsd/nfs4state.c BUG's · 063b0fb9
    J. Bruce Fields 提交于
    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: NJ. Bruce Fields <bfields@redhat.com>
    063b0fb9
nfs4state.c 131.4 KB