[BACK]Return to vfs_subr.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/vfs_subr.c between version 1.226 and 1.227

version 1.226, 2004/05/25 04:44:44 version 1.227, 2004/06/16 12:32:51
Line 244  getcleanvnode(p)
Line 244  getcleanvnode(p)
         for (; vp != NULL; vp = TAILQ_NEXT(vp, v_freelist)) {          for (; vp != NULL; vp = TAILQ_NEXT(vp, v_freelist)) {
                 if (!simple_lock_try(&vp->v_interlock))                  if (!simple_lock_try(&vp->v_interlock))
                         continue;                          continue;
                   /*
                    * as our lwp might hold the underlying vnode locked,
                    * don't try to reclaim the VLAYER vnode if it's locked.
                    */
                 if ((vp->v_flag & VLAYER) == 0) {                  if ((vp->v_flag & VLAYER) == 0) {
                         if (vn_start_write(vp, &mp, V_NOWAIT) == 0)                          if (vn_start_write(vp, &mp, V_NOWAIT) == 0)
                                 break;                                  break;

Legend:
Removed from v.1.226  
changed lines
  Added in v.1.227

CVSweb <webmaster@jp.NetBSD.org>