Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2009 15:49:15 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_znode.c
Message-ID:  <200909241549.n8OFnXHb042986@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2009-09-24 15:49:15 UTC

  FreeBSD src repository

  Modified files:
    sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_znode.c 
  Log:
  SVN rev 197458 on 2009-09-24 15:49:15Z by pjd
  
  Close race in zfs_zget(). We have to increase usecount first and then
  check for VI_DOOMED flag. Before this change vnode could be reclaimed
  between checking for the flag and increasing usecount.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.27      +19 -9     src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c



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