diff options
author | NeilBrown <neilb@suse.com> | 2018-05-21 14:35:12 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 18:29:10 +0200 |
commit | 63fd7d04580b6345ff1e0aab906c034f973d493e (patch) | |
tree | 759d921e2ae81fc0f703a94f5993de69626d860f /drivers/staging/lustre/lustre/llite/llite_internal.h | |
parent | 7b8e2026fb185e5178f9137c463ff07fc895be5d (diff) | |
download | op-kernel-dev-63fd7d04580b6345ff1e0aab906c034f973d493e.zip op-kernel-dev-63fd7d04580b6345ff1e0aab906c034f973d493e.tar.gz |
staging: lustre: remove current_pid() and current_comm()
Just use current->pid and current->comm directly, instead
of having wrappers.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/llite/llite_internal.h')
-rw-r--r-- | drivers/staging/lustre/lustre/llite/llite_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/llite/llite_internal.h b/drivers/staging/lustre/lustre/llite/llite_internal.h index 6504850..379d88e 100644 --- a/drivers/staging/lustre/lustre/llite/llite_internal.h +++ b/drivers/staging/lustre/lustre/llite/llite_internal.h @@ -1140,7 +1140,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; /* |