]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 May 2013 03:33:03 +0000 (20:33 -0700)
commit1a36af179e195ab85e1444cc760fd7a620289fa6
treeed6c40c6016bf5e3517bbb460b6abd60d2404c56
parent9802546fdf7169e9270f9ddec7fdfae02d3f4e8c
powerpc/spufs: Initialise inode->i_ino in spufs_new_inode()

commit 6747e83235caecd30b186d1282e4eba7679f81b7 upstream.

In commit 85fe402 (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.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/platforms/cell/spufs/inode.c