diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c index 64a4c2d85f7c..f078fe70d3cd 100644 --- a/arch/powerpc/platforms/cell/spufs/file.c +++ b/arch/powerpc/platforms/cell/spufs/file.c | |||
@@ -1548,7 +1548,7 @@ static int spufs_mfc_open(struct inode *inode, struct file *file) | |||
1548 | if (ctx->owner != current->mm) | 1548 | if (ctx->owner != current->mm) |
1549 | return -EINVAL; | 1549 | return -EINVAL; |
1550 | 1550 | ||
1551 | if (atomic_read(&inode->i_count) != 1) | 1551 | if (inode->i_count != 1) |
1552 | return -EBUSY; | 1552 | return -EBUSY; |
1553 | 1553 | ||
1554 | mutex_lock(&ctx->mapping_lock); | 1554 | mutex_lock(&ctx->mapping_lock); |