summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-03-27 07:53:13 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-03-27 07:53:13 +0000
commit3b73a3c079f330095b2d27928b1b4dce1fc8cc4f (patch)
treef7ec8ce6fe0dadae0a7a89120813abf2a503b620 /sys/kern/vfs_subr.c
parent2d8dfb2836c609277e4fa41df72b427cf9db09e5 (diff)
Notes
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index e9f9989110c1..1c6da3f35314 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -2234,7 +2234,7 @@ vgonel(struct vnode *vp, struct thread *td)
* Clean out any buffers associated with the vnode.
* If the flush fails, just toss the buffers.
*/
- if (!TAILQ_EMPTY(&vp->v_bufobj.bo_dirty.bv_hd));
+ if (!TAILQ_EMPTY(&vp->v_bufobj.bo_dirty.bv_hd))
(void) vn_write_suspend_wait(vp, NULL, V_WAIT);
if (vinvalbuf(vp, V_SAVE, td, 0, 0) != 0)
vinvalbuf(vp, 0, td, 0, 0);