Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2009 14:54:20 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/fs/nullfs null_subr.c
Message-ID:  <200905311454.n4VEsPx9088521@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

kib         2009-05-31 14:54:20 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/nullfs        null_subr.c 
  Log:
  SVN rev 193173 on 2009-05-31 14:54:20Z by kib
  
  Do not drop vnode interlock in null_checkvp(). null_lock() verifies that
  v_data is not-null before calling NULLVPTOLOWERVP(), and dropping the
  interlock allows for reclaim to clean v_data and free the memory.
  
  While there, remove unneeded semicolons and convert the infinite loops
  to panics. I have a will to remove null_checkvp() altogether, or leave
  it as a trivial stub, but not now.
  
  Reported and tested by: pho
  
  Revision  Changes    Path
  1.56      +7 -22     src/sys/fs/nullfs/null_subr.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905311454.n4VEsPx9088521>