aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-06-05 21:20:32 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-08-09 16:48:02 -0400
commit0f3f63a4700d7c5aed51491b0113a257cf290a56 (patch)
tree340350410bc08e8ec9d9d507d52592a794d85446 /arch
parent58e8268c7bae538ccb8b7eccc817c1c28bcd4da2 (diff)
spufs conversion to ->evict_inode()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/cell/spufs/inode.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c
index 32625f366fb5..5dec408d6703 100644
--- a/arch/powerpc/platforms/cell/spufs/inode.c
+++ b/arch/powerpc/platforms/cell/spufs/inode.c
@@ -143,15 +143,14 @@ out:
143} 143}
144 144
145static void 145static void
146spufs_delete_inode(struct inode *inode) 146spufs_evict_inode(struct inode *inode)
147{ 147{
148 struct spufs_inode_info *ei = SPUFS_I(inode); 148 struct spufs_inode_info *ei = SPUFS_I(inode);
149 149 end_writeback(inode);
150 if (ei->i_ctx) 150 if (ei->i_ctx)
151 put_spu_context(ei->i_ctx); 151 put_spu_context(ei->i_ctx);
152 if (ei->i_gang) 152 if (ei->i_gang)
153 put_spu_gang(ei->i_gang); 153 put_spu_gang(ei->i_gang);
154 clear_inode(inode);
155} 154}
156 155
157static void spufs_prune_dir(struct dentry *dir) 156static void spufs_prune_dir(struct dentry *dir)
@@ -779,8 +778,7 @@ spufs_fill_super(struct super_block *sb, void *data, int silent)
779 .alloc_inode = spufs_alloc_inode, 778 .alloc_inode = spufs_alloc_inode,
780 .destroy_inode = spufs_destroy_inode, 779 .destroy_inode = spufs_destroy_inode,
781 .statfs = simple_statfs, 780 .statfs = simple_statfs,
782 .delete_inode = spufs_delete_inode, 781 .evict_inode = spufs_evict_inode,
783 .drop_inode = generic_delete_inode,
784 .show_options = generic_show_options, 782 .show_options = generic_show_options,
785 }; 783 };
786 784