Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/ufs/ufs/ufs_quota1.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/ufs/ufs/ufs_quota1.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.19 retrieving revision 1.20 diff -u -p -r1.19 -r1.20 --- src/sys/ufs/ufs/ufs_quota1.c 2014/03/17 09:31:35 1.19 +++ src/sys/ufs/ufs/ufs_quota1.c 2014/05/24 16:34:04 1.20 @@ -1,4 +1,4 @@ -/* $NetBSD: ufs_quota1.c,v 1.19 2014/03/17 09:31:35 hannken Exp $ */ +/* $NetBSD: ufs_quota1.c,v 1.20 2014/05/24 16:34:04 christos Exp $ */ /* * Copyright (c) 1982, 1986, 1990, 1993, 1995 @@ -35,7 +35,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ufs_quota1.c,v 1.19 2014/03/17 09:31:35 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ufs_quota1.c,v 1.20 2014/05/24 16:34:04 christos Exp $"); #include #include @@ -373,7 +373,7 @@ quota1_handle_cmd_quotaon(struct lwp *l, * NB: only need to add dquot's for inodes being modified. */ vfs_vnode_iterator_init(mp, &marker); - while (vfs_vnode_iterator_next(marker, &vp)) { + while ((vp = vfs_vnode_iterator_next(marker, NULL, NULL))) { error = vn_lock(vp, LK_EXCLUSIVE); if (error) { vrele(vp); @@ -436,7 +436,7 @@ quota1_handle_cmd_quotaoff(struct lwp *l * deleting any references to quota file being closed. */ vfs_vnode_iterator_init(mp, &marker); - while (vfs_vnode_iterator_next(marker, &vp)) { + while ((vp = vfs_vnode_iterator_next(marker, NULL, NULL))) { error = vn_lock(vp, LK_EXCLUSIVE); if (error) { vrele(vp); @@ -762,7 +762,7 @@ q1sync(struct mount *mp) * synchronizing any modified dquot structures. */ vfs_vnode_iterator_init(mp, &marker); - while (vfs_vnode_iterator_next(marker, &vp)) { + while ((vp = vfs_vnode_iterator_next(marker, NULL, NULL))) { error = vn_lock(vp, LK_EXCLUSIVE); if (error) { vrele(vp);