- 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:
parent
d9b2d9f7a2
commit
a176ceb322
@ -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;
|
||||
{
|
||||
|
@ -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;
|
||||
{
|
||||
|
@ -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;
|
||||
{
|
||||
|
@ -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;
|
||||
{
|
||||
|
@ -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;
|
||||
{
|
||||
|
@ -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;
|
||||
{
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user