summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-03-24 07:39:03 +0000
committerjeff <jeff@FreeBSD.org>2005-03-24 07:39:03 +0000
commit56f1fc71890fea1c816625e7aec103c5369f7903 (patch)
treed5cbecebcb2ab6c20d4bc8b56080893a52544674
parent226bf6ead4eae284f20c2e0b92f5dd66207a9854 (diff)
downloadFreeBSD-src-56f1fc71890fea1c816625e7aec103c5369f7903.zip
FreeBSD-src-56f1fc71890fea1c816625e7aec103c5369f7903.tar.gz
- Update vfs_root implementations to match the new prototype. None of
these filesystems will support shared locks until they are explicitly modified to do so. Careful review must be done to ensure that this is safe for each individual filesystem. Sponsored by: Isilon Systems, Inc.
-rw-r--r--sys/coda/coda_vfsops.c3
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c3
-rw-r--r--sys/fs/coda/coda_vfsops.c3
-rw-r--r--sys/gnu/ext2fs/ext2_vfsops.c3
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c3
-rw-r--r--sys/isofs/cd9660/cd9660_vfsops.c3
-rw-r--r--sys/nfs4client/nfs4_vfsops.c2
-rw-r--r--sys/nfsclient/nfs_vfsops.c2
8 files changed, 14 insertions, 8 deletions
diff --git a/sys/coda/coda_vfsops.c b/sys/coda/coda_vfsops.c
index 5ba4395..c73d364 100644
--- a/sys/coda/coda_vfsops.c
+++ b/sys/coda/coda_vfsops.c
@@ -268,8 +268,9 @@ coda_unmount(vfsp, mntflags, td)
* find root of cfs
*/
int
-coda_root(vfsp, vpp, td)
+coda_root(vfsp, flags, vpp, td)
struct mount *vfsp;
+ int flags;
struct vnode **vpp;
struct thread *td;
{
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index 6d15b21..db5ecc6 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -532,8 +532,9 @@ cd9660_unmount(mp, mntflags, td)
* Return root of a filesystem
*/
static int
-cd9660_root(mp, vpp, td)
+cd9660_root(mp, flags, vpp, td)
struct mount *mp;
+ int flags;
struct vnode **vpp;
struct thread *td;
{
diff --git a/sys/fs/coda/coda_vfsops.c b/sys/fs/coda/coda_vfsops.c
index 5ba4395..c73d364 100644
--- a/sys/fs/coda/coda_vfsops.c
+++ b/sys/fs/coda/coda_vfsops.c
@@ -268,8 +268,9 @@ coda_unmount(vfsp, mntflags, td)
* find root of cfs
*/
int
-coda_root(vfsp, vpp, td)
+coda_root(vfsp, flags, vpp, td)
struct mount *vfsp;
+ int flags;
struct vnode **vpp;
struct thread *td;
{
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c
index f68f640..1c77ef5 100644
--- a/sys/gnu/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/ext2fs/ext2_vfsops.c
@@ -1111,8 +1111,9 @@ printf("\nupdating superblock, waitfor=%s\n", waitfor == MNT_WAIT ? "yes":"no");
* Return the root of a filesystem.
*/
static int
-ext2_root(mp, vpp, td)
+ext2_root(mp, flags, vpp, td)
struct mount *mp;
+ int flags;
struct vnode **vpp;
struct thread *td;
{
diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c
index f68f640..1c77ef5 100644
--- a/sys/gnu/fs/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c
@@ -1111,8 +1111,9 @@ printf("\nupdating superblock, waitfor=%s\n", waitfor == MNT_WAIT ? "yes":"no");
* Return the root of a filesystem.
*/
static int
-ext2_root(mp, vpp, td)
+ext2_root(mp, flags, vpp, td)
struct mount *mp;
+ int flags;
struct vnode **vpp;
struct thread *td;
{
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c
index 6d15b21..db5ecc6 100644
--- a/sys/isofs/cd9660/cd9660_vfsops.c
+++ b/sys/isofs/cd9660/cd9660_vfsops.c
@@ -532,8 +532,9 @@ cd9660_unmount(mp, mntflags, td)
* Return root of a filesystem
*/
static int
-cd9660_root(mp, vpp, td)
+cd9660_root(mp, flags, vpp, td)
struct mount *mp;
+ int flags;
struct vnode **vpp;
struct thread *td;
{
diff --git a/sys/nfs4client/nfs4_vfsops.c b/sys/nfs4client/nfs4_vfsops.c
index 28b2579..27249b8 100644
--- a/sys/nfs4client/nfs4_vfsops.c
+++ b/sys/nfs4client/nfs4_vfsops.c
@@ -706,7 +706,7 @@ nfs_unmount(struct mount *mp, int mntflags, struct thread *td)
* Return root of a filesystem
*/
static int
-nfs_root(struct mount *mp, struct vnode **vpp, struct thread *td)
+nfs_root(struct mount *mp, int flags, struct vnode **vpp, struct thread *td)
{
struct vnode *vp;
struct nfsmount *nmp;
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index 435d6a5..8f77ccf 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -932,7 +932,7 @@ nfs_unmount(struct mount *mp, int mntflags, struct thread *td)
* Return root of a filesystem
*/
static int
-nfs_root(struct mount *mp, struct vnode **vpp, struct thread *td)
+nfs_root(struct mount *mp, int flags, struct vnode **vpp, struct thread *td)
{
struct vnode *vp;
struct nfsmount *nmp;
OpenPOWER on IntegriCloud