]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/commit
MFC r227110,r227111:
authorpjd <pjd@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 24 Nov 2011 07:39:01 +0000 (07:39 +0000)
committerpjd <pjd@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 24 Nov 2011 07:39:01 +0000 (07:39 +0000)
commit1519148e0b0543869b156b9a9707b0f8acedb7ec
tree2082724b43b2b1f7eb3bb7d0ac5deabc11e1944a
parent1636371c5fdc7f3914a23ee2a9881b5cf8e93d55
MFC r227110,r227111:

r227110:

In zvol_open() if the spa_namespace_lock is already held, it means that
ZFS is trying to open and taste ZVOL as its VDEV. This is not supported,
so return an error instead of panicing on spa_namespace_lock recursion.

Reported by: Robert Millan <rmh@debian.org>
PR: kern/162008

r227111:

Correct typo in comment.

Reported by: Fabian Keil <fk@fabiankeil.de>

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227927 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c