Whamcloud - gitweb
LU-9859 lustre: remove current_pid() and current_comm()
[fs/lustre-release.git] / lustre / llite / llite_internal.h
index 9dda901..5f71f2a 100644 (file)
@@ -1439,7 +1439,7 @@ dentry_may_statahead(struct inode *dir, struct dentry *dentry)
                return false;
 
        /* not the same process, don't statahead */
-       if (lli->lli_opendir_pid != current_pid())
+       if (lli->lli_opendir_pid != current->pid)
                return false;
 
        /*