Code Review
/
linux-3.10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
[POWERPC] spufs: Free mm if spufs_fill_dir() failed
[linux-3.10.git]
/
arch
/
powerpc
/
platforms
/
cell
/
spufs
/
inode.c
diff --git
a/arch/powerpc/platforms/cell/spufs/inode.c
b/arch/powerpc/platforms/cell/spufs/inode.c
index fe960ddbde71d09e056b021378fb56dc49d0bc33..08356813977103e173b76bea7213dcf7f9b8bab7 100644
(file)
--- a/
arch/powerpc/platforms/cell/spufs/inode.c
+++ b/
arch/powerpc/platforms/cell/spufs/inode.c
@@
-274,6
+274,7
@@
spufs_mkdir(struct inode *dir, struct dentry *dentry, unsigned int flags,
goto out;
out_free_ctx:
+ spu_forget(ctx);
put_spu_context(ctx);
out_iput:
iput(inode);