summaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_msghandler.c
diff options
context:
space:
mode:
authorArnd Bergmann2006-04-11 07:54:31 +0200
committerLinus Torvalds2006-04-11 15:18:45 +0200
commit091e881d0e55496d8887b61446ae1c598b0995b6 (patch)
tree359de08690a236593f4a24727fc060f7adc0993c /drivers/char/ipmi/ipmi_msghandler.c
parent[PATCH] kdump: enable CONFIG_PROC_VMCORE by default (diff)
downloadkernel-qcow2-linux-091e881d0e55496d8887b61446ae1c598b0995b6.tar.gz
kernel-qcow2-linux-091e881d0e55496d8887b61446ae1c598b0995b6.tar.xz
kernel-qcow2-linux-091e881d0e55496d8887b61446ae1c598b0995b6.zip
[PATCH] inotify: check for NULL inode in inotify_d_instantiate
The spufs file system creates files in a directory before instantiating the directory itself, which causes a NULL pointer access in inotify_d_instantiate since c32ccd87bfd1414b0aabfcd8dbc7539ad23bcbaa. I'd like to keep this behavior since it means that the user will not have access to files in the directory before I know that I succeed in creating everything in it. This patch adds a simple check for the inode to keep that working. Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Acked-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/ipmi/ipmi_msghandler.c')
0 files changed, 0 insertions, 0 deletions