]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/spufs: set nlink count for spufs root correctly
authorJeremy Kerr <jk@ozlabs.org>
Tue, 7 Oct 2008 07:26:55 +0000 (18:26 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 10 Oct 2008 00:06:15 +0000 (11:06 +1100)
commite2ed6e4daa6f16f088600d98568cb5730b5238a6
treefe7b64b8f966fa8d09b7303149cc8a8f4d49622c
parent1afb7f809bfb8fad9eec9419f3dfd75cee746ebd
powerpc/spufs: set nlink count for spufs root correctly

Currently, an empty spufs root inode has nlink count of 1. However,
the directory has two links; / -> spu and /spu/ -> .

This change increments the link count of the root inode in spufs.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
arch/powerpc/platforms/cell/spufs/inode.c