summaryrefslogtreecommitdiffstats
path: root/sys/fs/coda
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-03-13 12:14:56 +0000
committerjeff <jeff@FreeBSD.org>2005-03-13 12:14:56 +0000
commit5bd51ec6e6125eed91ed13102532414e08b88d96 (patch)
tree66524027952cc29211af6953138106a47d9cf8d0 /sys/fs/coda
parent79cf2c5860e7855a3a8a05b07c3ac0eaaa5fdc9d (diff)
downloadFreeBSD-src-5bd51ec6e6125eed91ed13102532414e08b88d96.zip
FreeBSD-src-5bd51ec6e6125eed91ed13102532414e08b88d96.tar.gz
- The VI_DOOMED flag now signals the end of a vnode's relationship with
the filesystem. Check that rather than VI_XLOCK. Sponsored by: Isilon Systems, Inc.
Diffstat (limited to 'sys/fs/coda')
-rw-r--r--sys/fs/coda/coda_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/coda/coda_subr.c b/sys/fs/coda/coda_subr.c
index 99eb883..878bd68 100644
--- a/sys/fs/coda/coda_subr.c
+++ b/sys/fs/coda/coda_subr.c
@@ -315,7 +315,7 @@ coda_checkunmounting(mp)
MNT_ILOCK(mp);
MNT_VNODE_FOREACH(vp, mp, nvp) {
VI_LOCK(vp);
- if (vp->v_iflag & VI_XLOCK) {
+ if (vp->v_iflag & VI_DOOMED) {
VI_UNLOCK(vp);
continue;
}
OpenPOWER on IntegriCloud