kernel-ark/arch/powerpc
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
..
boot [POWERPC] Fix zImage.coff generation for 32-bit pmac 2007-06-02 22:26:22 +10:00
configs [POWERPC] cell_defconfig: Disable cpufreq and pmi 2007-05-17 21:11:14 +10:00
kernel [POWERPC] Fix pci_setup_phb_io_dynamic for pci_iomap 2007-06-07 11:44:40 +10:00
lib [POWERPC] Fix alignment problem in rh_alloc_align() with exact-sized blocks 2007-05-17 21:10:16 +10:00
math-emu
mm [POWERPC] Fix modpost warning 2007-05-23 07:49:37 -05:00
oprofile Fix misspellings collected by members of KJ list. 2007-05-09 07:14:03 +02:00
platforms [POWERPC] spufs: Fix error handling in spufs_fill_dir() 2007-06-07 11:44:40 +10:00
sysdev [POWERPC] QE: fix Kconfig 'select' warning with UCC_FAST 2007-05-23 07:23:55 -05:00
xmon Simplify kallsyms_lookup() 2007-05-08 11:15:08 -07:00
.gitignore
Kconfig [POWERPC] Fix Kconfig warning 2007-05-23 09:51:46 -05:00
Kconfig.debug Fix trivial typos in Kconfig* files 2007-05-09 07:12:20 +02:00
Makefile [POWERPC] Create a zImage for legacy iSeries 2007-06-02 21:01:56 +10:00