fs: dcache rationalise dget variants
[deliverable/linux.git] / drivers / infiniband / hw / ipath / ipath_fs.c
index 925e88227deda0aaeb055cbea8b29e534532d2df..31ae1b108aea95e7ad769e49f7dd875f3a195d72 100644 (file)
@@ -279,7 +279,7 @@ static int remove_file(struct dentry *parent, char *name)
 
        spin_lock(&tmp->d_lock);
        if (!(d_unhashed(tmp) && tmp->d_inode)) {
-               dget_locked_dlock(tmp);
+               dget_dlock(tmp);
                __d_drop(tmp);
                spin_unlock(&tmp->d_lock);
                simple_unlink(parent->d_inode, tmp);
This page took 0.024745 seconds and 5 git commands to generate.