diff options
author | Ed Cashin <ecashin@coraid.com> | 2013-09-11 23:25:46 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 00:59:28 +0200 |
commit | fea1b139735355fe17a66f63811c58698ff03ec5 (patch) | |
tree | 3dcb175f3bb1fcde3dd4a3ba379e67ad13ff5a10 /Documentation/aoe/aoe.txt | |
parent | aoe: suppress compiler warnings (diff) | |
download | linux-fea1b139735355fe17a66f63811c58698ff03ec5.tar.xz linux-fea1b139735355fe17a66f63811c58698ff03ec5.zip |
aoe: do not BUG if memory pressure prevented debugfs file creation
If the system has trouble allocating memory for the creation of the aoe
debugfs directory or of a file inside it, the debugfs member of an aoedev
can be NULL.
Do not treat a NULL debugfs pointer as a BUG on aoedev shutdown, avoiding
the user impact of an unecessary panic.
Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/aoe/aoe.txt')
0 files changed, 0 insertions, 0 deletions