From 8a1713aada9c142d3c2096e4857ff30970d9b1d0 Mon Sep 17 00:00:00 2001 From: alfred Date: Mon, 12 Jul 2004 08:14:09 +0000 Subject: Make VFS_ROOT() and vflush() take a thread argument. This is to allow filesystems to decide based on the passed thread which vnode to return. Several filesystems used curthread, they now use the passed thread. --- sys/kern/vfs_extattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/vfs_extattr.c') diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index 2fffe63..c22b194 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -690,7 +690,7 @@ fchdir(td, uap) while (!error && (mp = vp->v_mountedhere) != NULL) { if (vfs_busy(mp, 0, 0, td)) continue; - error = VFS_ROOT(mp, &tdp); + error = VFS_ROOT(mp, &tdp, td); vfs_unbusy(mp, td); if (error) break; -- cgit v1.1