diff options
author | J. Bruce Fields <bfields@redhat.com> | 2012-11-25 14:48:10 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-26 09:08:16 -0500 |
commit | 063b0fb9fadadc0caaea6c8f31e3f6bc978a4904 (patch) | |
tree | d67d23112e25ae14f5c3be1b67db71d8fa45af79 /fs/splice.c | |
parent | ffe1137ba743cdf1c2414d5a89690aec1daa6bba (diff) |
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: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions