]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/spufs: only add ".ctx" file with "debug" mount option
authorJeremy Kerr <jk@ozlabs.org>
Thu, 3 Jul 2008 01:42:20 +0000 (11:42 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 9 Jul 2008 00:13:41 +0000 (10:13 +1000)
commit68bf117a6be1155736ac6ed36e61f12853194257
tree2336e5a9eaf69bfd92f5eee198a13a1382107a67
parentcec6aa0128ea30dd0765af6f7f0b4b62ad0f54ce
powerpc/spufs: only add ".ctx" file with "debug" mount option

Currently, the .ctx debug file in spu context directories is always
present.

We'd prefer to prevent users from relying on this file, so add a
"debug" mount option to spufs. The .ctx file will only be added to
the context directories when this option is present.

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