diff options
author | jeff <jeff@FreeBSD.org> | 2005-03-24 07:36:16 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-03-24 07:36:16 +0000 |
commit | 226bf6ead4eae284f20c2e0b92f5dd66207a9854 (patch) | |
tree | d9054fa7f8d4f79ec2995ff851d64982c658aa72 /sys/fs/smbfs/smbfs_vfsops.c | |
parent | c9591f9ecde6c2dcb84b934b65b4ffb61817f2d8 (diff) | |
download | FreeBSD-src-226bf6ead4eae284f20c2e0b92f5dd66207a9854.zip FreeBSD-src-226bf6ead4eae284f20c2e0b92f5dd66207a9854.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.
Diffstat (limited to 'sys/fs/smbfs/smbfs_vfsops.c')
-rw-r--r-- | sys/fs/smbfs/smbfs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c index 8b75ed3..b774443 100644 --- a/sys/fs/smbfs/smbfs_vfsops.c +++ b/sys/fs/smbfs/smbfs_vfsops.c @@ -243,7 +243,7 @@ smbfs_mount(struct mount *mp, struct thread *td) } } vfs_getnewfsid(mp); - error = smbfs_root(mp, &vp, td); + error = smbfs_root(mp, LK_EXCLUSIVE, &vp, td); if (error) goto bad; VOP_UNLOCK(vp, 0, td); @@ -316,7 +316,7 @@ smbfs_unmount(struct mount *mp, int mntflags, struct thread *td) * Return locked root vnode of a filesystem */ static int -smbfs_root(struct mount *mp, struct vnode **vpp, struct thread *td) +smbfs_root(struct mount *mp, int flags, struct vnode **vpp, struct thread *td) { struct smbmount *smp = VFSTOSMBFS(mp); struct vnode *vp; |