diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2005-03-24 07:31:38 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2005-03-24 07:31:38 +0000 |
| commit | d830f82824ec80248573e06b7ddc605f6dee44a1 (patch) | |
| tree | f3d973fb4ec17cc9f154c9cbec4c4315696f64ae /sys/kern/vfs_subr.c | |
| parent | aabb1753915a8f81d4916521b7d2d73da6c2e497 (diff) | |
Notes
Diffstat (limited to 'sys/kern/vfs_subr.c')
| -rw-r--r-- | sys/kern/vfs_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 9668b58b7468..bf12f5888ae3 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -2053,7 +2053,7 @@ vflush(mp, rootrefs, flags, td) * Get the filesystem root vnode. We can vput() it * immediately, since with rootrefs > 0, it won't go away. */ - if ((error = VFS_ROOT(mp, &rootvp, td)) != 0) + if ((error = VFS_ROOT(mp, LK_EXCLUSIVE, &rootvp, td)) != 0) return (error); vput(rootvp); |
