diff options
author | Attilio Rao <attilio@FreeBSD.org> | 2008-08-28 15:23:18 +0000 |
---|---|---|
committer | Attilio Rao <attilio@FreeBSD.org> | 2008-08-28 15:23:18 +0000 |
commit | 0359a12eadcd66a9298e283fc5f3c90a9393322a (patch) | |
tree | 61fe2ab5660fec327061e18eda0ed8c65276f262 /sys/compat/linprocfs | |
parent | 57b00b9998798e15bb18275d710ebb6cb7ed8423 (diff) | |
download | src-0359a12eadcd66a9298e283fc5f3c90a9393322a.tar.gz src-0359a12eadcd66a9298e283fc5f3c90a9393322a.zip |
Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread
was always curthread and totally unuseful.
Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
Notes
Notes:
svn path=/head/; revision=182371
Diffstat (limited to 'sys/compat/linprocfs')
-rw-r--r-- | sys/compat/linprocfs/linprocfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index c13400ddcb6a..86c4ff9571a8 100644 --- a/sys/compat/linprocfs/linprocfs.c +++ b/sys/compat/linprocfs/linprocfs.c @@ -937,7 +937,7 @@ linprocfs_doprocmaps(PFS_FILL_ARGS) vn_fullpath(td, vp, &name, &freename); locked = VFS_LOCK_GIANT(vp->v_mount); vn_lock(vp, LK_SHARED | LK_RETRY); - VOP_GETATTR(vp, &vat, td->td_ucred, td); + VOP_GETATTR(vp, &vat, td->td_ucred); ino = vat.va_fileid; vput(vp); VFS_UNLOCK_GIANT(locked); |