diff options
author | jeff <jeff@FreeBSD.org> | 2005-04-11 11:16:29 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-04-11 11:16:29 +0000 |
commit | 9375f1d524ba0f970fba08b6798c72309e07c4be (patch) | |
tree | dbe4ecd374ce4b43e8e518ba93d9ce883266c3a4 /sys/fs/nullfs | |
parent | aed8bcfc2b5d64c8beec781cdd789d9b41450170 (diff) | |
download | FreeBSD-src-9375f1d524ba0f970fba08b6798c72309e07c4be.zip FreeBSD-src-9375f1d524ba0f970fba08b6798c72309e07c4be.tar.gz |
- Honor the flags argument passed to null_root(). The filesystem below
us will decide whether or not to grab a real shared lock.
Diffstat (limited to 'sys/fs/nullfs')
-rw-r--r-- | sys/fs/nullfs/null_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c index 56b826c..38f0f55 100644 --- a/sys/fs/nullfs/null_vfsops.c +++ b/sys/fs/nullfs/null_vfsops.c @@ -248,7 +248,7 @@ nullfs_root(mp, flags, vpp, td) return (EDEADLK); } #endif - vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, td); + vn_lock(vp, flags | LK_RETRY, td); *vpp = vp; return 0; } |