original_kernel/arch/powerpc/platforms
Sebastian Siewior 87873c8680 [POWERPC] spufs: Fix error handling in spufs_fill_dir()
The error path in spufs_fill_dir() is broken. If d_alloc_name() or
spufs_new_file() fails, spufs_prune_dir() is getting called. At this time
dir->inode is not set and a NULL pointer is dereferenced by mutex_lock().
This bugfix replaces spufs_prune_dir() with a shorter version that does
not touch dir->inode but simply removes all children.

Signed-off-by: Sebastian Siewior <bigeasy@linux.vnet.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-07 11:44:40 +10:00
..
4xx
8xx
44x
52xx
82xx
83xx
85xx
86xx
apus
cell [POWERPC] spufs: Fix error handling in spufs_fill_dir() 2007-06-07 11:44:40 +10:00
celleb [POWERPC] scc_sio: Fix link failure 2007-06-07 11:44:40 +10:00
chrp
embedded6xx
iseries
maple
pasemi [POWERPC] pasemi: Fix iommu + 64K PAGE_SIZE bug 2007-06-07 11:44:39 +10:00
powermac
prep
ps3 [POWERPC] ps3/interrupt.c uses get_hard_smp_processor_id 2007-06-02 21:01:55 +10:00
pseries [POWERPC] Fix compile warning in pseries xics code 2007-06-02 21:01:56 +10:00
Kconfig
Makefile