fs: dcache rationalise dget variants
[pandora-kernel.git] / arch / powerpc / platforms / cell / spufs / inode.c
index 2662b50..03185de 100644 (file)
@@ -161,7 +161,7 @@ static void spufs_prune_dir(struct dentry *dir)
        list_for_each_entry_safe(dentry, tmp, &dir->d_subdirs, d_u.d_child) {
                spin_lock(&dentry->d_lock);
                if (!(d_unhashed(dentry)) && dentry->d_inode) {
-                       dget_locked_dlock(dentry);
+                       dget_dlock(dentry);
                        __d_drop(dentry);
                        spin_unlock(&dentry->d_lock);
                        simple_unlink(dir->d_inode, dentry);