summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>2006-03-10 02:31:12 +0000
committertegge <tegge@FreeBSD.org>2006-03-10 02:31:12 +0000
commitbce91540c213fdf84da148f7eab8f61db0492d4f (patch)
tree6bc8a5795560ad5fbde8eb2dd6faa34f4c4c78a9
parentb82f657662f73a0abbc224f3b2d85db65f9023ca (diff)
downloadFreeBSD-src-bce91540c213fdf84da148f7eab8f61db0492d4f.zip
FreeBSD-src-bce91540c213fdf84da148f7eab8f61db0492d4f.tar.gz
Remove unneeded (and broken) usage of MNT_REF()/MNT_REL().
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index f4245db..edfc8eb 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -1143,7 +1143,6 @@ ffs_sync(mp, waitfor, td)
}
lockreq |= LK_INTERLOCK | LK_SLEEPFAIL;
MNT_ILOCK(mp);
- MNT_REF(mp);
loop:
/* Grab snapshot of secondary write counts */
secondary_writes = mp->mnt_secondary_writes;
@@ -1187,7 +1186,6 @@ loop:
vput(vp);
MNT_ILOCK(mp);
}
- MNT_REL(mp);
MNT_IUNLOCK(mp);
/*
* Force stale filesystem control information to be flushed.
OpenPOWER on IntegriCloud