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/unionfs/union_vnops.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/unionfs/union_vnops.c')
-rw-r--r-- | sys/fs/unionfs/union_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c index 7aef07c..69699fa 100644 --- a/sys/fs/unionfs/union_vnops.c +++ b/sys/fs/unionfs/union_vnops.c @@ -264,7 +264,7 @@ union_lookup1(udvp, pdvp, vpp, cnp) relock_pdvp = 1; vput(dvp); dvp = NULL; - error = VFS_ROOT(mp, &dvp, td); + error = VFS_ROOT(mp, LK_EXCLUSIVE, &dvp, td); vfs_unbusy(mp, td); |