Files
linux/arch
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
..
2007-06-01 08:18:29 -07:00
2007-06-01 08:18:28 -07:00
2007-05-09 07:12:20 +02:00
2007-06-01 08:18:29 -07:00
2007-06-04 13:25:09 -07:00
2007-06-01 08:18:27 -07:00
2007-06-01 08:18:28 -07:00
2007-05-31 17:38:11 +02:00
2007-05-31 13:48:57 +09:00
2007-05-31 01:52:51 -07:00
2007-05-23 20:14:12 -07:00