Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Sep 2009 21:46:51 +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_ctldir.c
Message-ID:  <200909072147.n87Ll9qb029558@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2009-09-07 21:46:51 UTC

  FreeBSD src repository

  Modified files:
    sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_ctldir.c 
  Log:
  SVN rev 196953 on 2009-09-07 21:46:51Z by pjd
  
  When snapshot mount point is busy (for example we are still in it)
  we will fail to unmount it, but it won't be removed from the tree,
  so in that case there is no need to reinsert it.
  
  This fixes a panic reproducable in the following steps:
  
          # zfs create tank/foo
          # zfs snapshot tank/foo@snap
          # cd /tank/foo/.zfs/snapshot/snap
          # umount /tank/foo
          panic: avl_find() succeeded inside avl_add()
  
  Reported by:    trasz
  MFC after:      3 days
  
  Revision  Changes    Path
  1.16      +9 -1      src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c



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