projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
cca9113
)
kernel - Do not use LK_NOWAIT for vfs_busy() after initialization
author
Matthew Dillon <dillon@apollo.backplane.com>
Thu, 8 Dec 2011 04:13:09 +0000 (20:13 -0800)
committer
Matthew Dillon <dillon@apollo.backplane.com>
Thu, 8 Dec 2011 04:13:09 +0000 (20:13 -0800)
* Minor adjustment, this is more appropriate then what we had but it
will not effect the code since nobody references the mp yet at this
point (thus the lock always succeeds even w/ LK_NOWAIT).
sys/kern/vfs_mount.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/kern/vfs_mount.c
b/sys/kern/vfs_mount.c
index
393f487
..
ad2dfdb
100644
(file)
--- a/
sys/kern/vfs_mount.c
+++ b/
sys/kern/vfs_mount.c
@@
-302,7
+302,7
@@
vfs_rootmountalloc(char *fstypename, char *devname, struct mount **mpp)
mount_init(mp);
lockinit(&mp->mnt_lock, "vfslock", VLKTIMEOUT, 0);
- vfs_busy(mp, LK_NOWAIT);
+ vfs_busy(mp, 0);
mp->mnt_vfc = vfsp;
mp->mnt_op = vfsp->vfc_vfsops;
vfsp->vfc_refcount++;