diff options
author | alfred <alfred@FreeBSD.org> | 2004-07-12 08:14:09 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2004-07-12 08:14:09 +0000 |
commit | 8a1713aada9c142d3c2096e4857ff30970d9b1d0 (patch) | |
tree | 8fe425c682e229149daf17e6533c0f750ba308d3 /sys/kern/vfs_default.c | |
parent | b436785ed498fa322c5ccd228770c6053e4b487b (diff) | |
download | FreeBSD-src-8a1713aada9c142d3c2096e4857ff30970d9b1d0.zip FreeBSD-src-8a1713aada9c142d3c2096e4857ff30970d9b1d0.tar.gz |
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.
Diffstat (limited to 'sys/kern/vfs_default.c')
-rw-r--r-- | sys/kern/vfs_default.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c index c497b60..5812a03 100644 --- a/sys/kern/vfs_default.c +++ b/sys/kern/vfs_default.c @@ -655,9 +655,10 @@ vop_stdputpages(ap) * used to fill the vfs function table to get reasonable default return values. */ int -vfs_stdroot (mp, vpp) +vfs_stdroot (mp, vpp, td) struct mount *mp; struct vnode **vpp; + struct thread *td; { return (EOPNOTSUPP); |