Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60643
b: refs/heads/master
c: b8c295f
h: refs/heads/master
i:
  60641: ea0ad84
  60639: 60eb44c
v: v3
  • Loading branch information
Jeremy Kerr authored and Paul Mackerras committed Jul 3, 2007
1 parent a31c4aa commit 485d2b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: df09cf3e2cd597d373f3a6046df0e0a50881ea44
refs/heads/master: b8c295f90854d682018d74599efc258628be32e3
10 changes: 3 additions & 7 deletions trunk/arch/powerpc/platforms/cell/spufs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,6 @@ static int spufs_dir_close(struct inode *inode, struct file *file)
return dcache_dir_close(inode, file);
}

const struct inode_operations spufs_dir_inode_operations = {
.lookup = simple_lookup,
};

const struct file_operations spufs_context_fops = {
.open = dcache_dir_open,
.release = spufs_dir_close,
Expand Down Expand Up @@ -269,7 +265,7 @@ spufs_mkdir(struct inode *dir, struct dentry *dentry, unsigned int flags,
goto out_iput;

ctx->flags = flags;
inode->i_op = &spufs_dir_inode_operations;
inode->i_op = &simple_dir_inode_operations;
inode->i_fop = &simple_dir_operations;
if (flags & SPU_CREATE_NOSCHED)
ret = spufs_fill_dir(dentry, spufs_dir_nosched_contents,
Expand Down Expand Up @@ -386,7 +382,7 @@ spufs_mkgang(struct inode *dir, struct dentry *dentry, int mode)
if (!gang)
goto out_iput;

inode->i_op = &spufs_dir_inode_operations;
inode->i_op = &simple_dir_inode_operations;
inode->i_fop = &simple_dir_operations;

d_instantiate(dentry, inode);
Expand Down Expand Up @@ -593,7 +589,7 @@ spufs_create_root(struct super_block *sb, void *data)
if (!inode)
goto out;

inode->i_op = &spufs_dir_inode_operations;
inode->i_op = &simple_dir_inode_operations;
inode->i_fop = &simple_dir_operations;
SPUFS_I(inode)->i_ctx = NULL;

Expand Down

0 comments on commit 485d2b9

Please sign in to comment.