- 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.
This commit is contained in:
Jeff Roberson 2005-03-24 07:39:03 +00:00
parent d9b2d9f7a2
commit a176ceb322
8 changed files with 14 additions and 8 deletions

View File

@ -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;
{

View File

@ -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;
{

View File

@ -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;
{

View File

@ -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;
{

View File

@ -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;
{

View File

@ -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;
{

View File

@ -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;

View File

@ -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;