aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2008-01-13 14:44:15 +0000
committerAttilio Rao <attilio@FreeBSD.org>2008-01-13 14:44:15 +0000
commit22db15c06f1fbc66b47c8c931bbe291b9fd23d45 (patch)
tree880b0acaab5ef09fe469c4b041d99ff26adca8b8 /sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
parentce4c63c52a45d7a3fc5c13b6c0a50fcece35a1f8 (diff)
downloadsrc-22db15c06f1fbc66b47c8c931bbe291b9fd23d45.tar.gz
src-22db15c06f1fbc66b47c8c931bbe291b9fd23d45.zip
VOP_LOCK1() (and so VOP_LOCK()) and VOP_UNLOCK() are only used in
conjuction with 'thread' argument passing which is always curthread. Remove the unuseful extra-argument and pass explicitly curthread to lower layer functions, when necessary. KPI results broken by this change, which should affect several ports, so version bumping and manpage update will be further committed. Tested by: kris, pho, Diego Sardina <siarodx at gmail dot com>
Notes
Notes: svn path=/head/; revision=175294
Diffstat (limited to 'sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c')
-rw-r--r--sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c b/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
index 8d3ba0ff6066..244ad3099e84 100644
--- a/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
+++ b/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
@@ -302,7 +302,7 @@ _xfs_root(mp, flags, vpp, td)
XVFS_ROOT(MNTTOVFS(mp), &vp, error);
if (error == 0) {
*vpp = vp->v_vnode;
- VOP_LOCK(*vpp, flags, curthread);
+ VOP_LOCK(*vpp, flags);
}
return (error);
}