diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2018-07-02 20:56:23 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2018-07-02 20:56:23 +0000 |
commit | 04c6a5055b8bebff2780514c2c67c17af2dd1e37 (patch) | |
tree | 20a8d17f36be6572cd7e90284de9c3f8791710bd /sys/nfs/nfs_vfsops.c | |
parent | d42a44fc6d8e96e5a28407cebe0eba9f3060d805 (diff) |
Use more list macros for v_dirtyblkhd.
OK mpi@
Diffstat (limited to 'sys/nfs/nfs_vfsops.c')
-rw-r--r-- | sys/nfs/nfs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c index d2dbc4a09dc..024416981e2 100644 --- a/sys/nfs/nfs_vfsops.c +++ b/sys/nfs/nfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vfsops.c,v 1.121 2018/05/27 06:02:15 visa Exp $ */ +/* $OpenBSD: nfs_vfsops.c,v 1.122 2018/07/02 20:56:22 bluhm Exp $ */ /* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */ /* @@ -812,7 +812,7 @@ loop: */ if (vp->v_mount != mp) goto loop; - if (VOP_ISLOCKED(vp) || LIST_FIRST(&vp->v_dirtyblkhd) == NULL) + if (VOP_ISLOCKED(vp) || LIST_EMPTY(&vp->v_dirtyblkhd)) continue; if (vget(vp, LK_EXCLUSIVE)) goto loop; |