tmp_suning_uos_patched/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 [POWERPC] Re-organize Kconfig code for 4xx in arch/powerpc 2007-04-24 21:32:00 +10:00
8xx fix file specification in comments 2007-05-09 08:58:16 +02:00
44x [POWERPC] Small fixes for the Ebony device tree 2007-05-17 21:11:14 +10:00
52xx [POWERPC] mpc52xx suspend to deep-sleep 2007-05-07 20:31:15 +10:00
82xx Merge branch 'kconfig' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into for-2.6.22 2007-04-24 08:42:11 +10:00
83xx [POWERPC] 83xx: Suppress warning when CONFIG_ options aren't defined 2007-05-09 22:48:53 -05:00
85xx [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
86xx [POWERPC] 86xx: Enable the AC97 interface on 8641D board. 2007-05-09 23:01:09 -05:00
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 [POWERPC] Fix Section mismatch warnings 2007-05-23 07:45:18 -05:00
embedded6xx [POWERPC] Add arch/powerpc support for the Motorola PrPMC2800 2007-05-12 11:32:50 +10:00
iseries [POWERPC] viopath: Use a completion in some more places 2007-05-17 21:11:13 +10:00
maple [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
pasemi [POWERPC] pasemi: Fix iommu + 64K PAGE_SIZE bug 2007-06-07 11:44:39 +10:00
powermac [POWERPC] Fix Section mismatch warnings 2007-05-23 07:45:18 -05:00
prep [POWERPC] Split several platforms into their respective Kconfig file 2007-03-22 10:07:32 -05:00
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 [POWERPC] Support for the Ebony 440GP reference board in arch/powerpc 2007-05-08 14:47:32 +10:00
Makefile [POWERPC] Add powerpc/platforms/44x, disable platforms/4xx for now 2007-05-08 14:43:59 +10:00