Skip to content
Commit 89df0085 authored by Sebastian Siewior's avatar Sebastian Siewior Committed by Paul Mackerras
Browse files

[POWERPC] spufs: Free mm if spufs_fill_dir() failed



In case spufs_fill_dir() fails only put_spu_context()
gets called for cleanup and the acquired mm_struct never gets freed.

Signed-off-by: default avatarSebastian Siewior <bigeasy@linux.vnet.ibm.com>
Signed-off-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 877907d3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment