]> Git Repo - linux.git/blobdiff - drivers/infiniband/hw/ipath/ipath_fs.c
make simple_positive() public
[linux.git] / drivers / infiniband / hw / ipath / ipath_fs.c
index 1ca8e32a95927961a326f33bae480c11a02a226f..25422a3a72387eb39bd5bac638bcf62a198373bd 100644 (file)
@@ -277,7 +277,7 @@ static int remove_file(struct dentry *parent, char *name)
        }
 
        spin_lock(&tmp->d_lock);
-       if (!d_unhashed(tmp) && d_really_is_positive(tmp)) {
+       if (simple_positive(tmp)) {
                dget_dlock(tmp);
                __d_drop(tmp);
                spin_unlock(&tmp->d_lock);
This page took 0.030619 seconds and 4 git commands to generate.