]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/spufs: Initialise inode->i_ino in spufs_new_inode()
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 23 Apr 2013 15:13:14 +0000 (15:13 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 24 Apr 2013 04:22:32 +0000 (14:22 +1000)
commitdba92a45ec4cde201b1f7e227163ddbedb7c1cd6
tree12ea3462ce5acfcb0ef0606d0ddbb2a7db6bc9b9
parenta790f3feadb046039a2c3b02db2588f305d28d1e
powerpc/spufs: Initialise inode->i_ino in spufs_new_inode()

In commit dca54a6 (fs: do not assign default i_ino in new_inode), the
initialisation of i_ino was removed from new_inode() and pushed down
into the callers. However spufs_new_inode() was not updated.

This exhibits as no files appearing in /spu, because all our dirents
have a zero inode, which readdir() seems to dislike.

Cc: stable@vger.kernel.org
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/spufs/inode.c