spufs_mkdir(): don't d_add() on negative parent
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 29 Jan 2013 01:37:21 +0000 (20:37 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 23 Feb 2013 04:31:38 +0000 (23:31 -0500)
commit2248b87ec1d9f59001d8c69513b2892ac04a2a3d
tree1df3c5679e5fa10fdb7cc459f5c7108e7bee3b6c
parent4e6b8973282829e0d5898d9721880556957f0f98
spufs_mkdir(): don't d_add() on negative parent

NOTE: this really needs testing - I could've easily fucked up
refcounting in there.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/powerpc/platforms/cell/spufs/inode.c