From: Ed Cashin Date: Wed, 11 Sep 2013 21:25:46 +0000 (-0700) Subject: aoe: do not BUG if memory pressure prevented debugfs file creation X-Git-Tag: v3.12-rc1~52^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fea1b139735355fe17a66f63811c58698ff03ec5;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed