]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zfs_vfsops.c
OpenZFS 6101 - attempt to lzc_create() a filesystem under a volume results in a panic
authorAndriy Gapon <avg@FreeBSD.org>
Thu, 13 Apr 2017 21:32:08 +0000 (14:32 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 14 Apr 2017 18:11:28 +0000 (11:11 -0700)
commit87a275d97aa5b7bb47c0601c8b005e8ae85be2f7
tree621cae83827b13a3264f80b8e95e914278f5da1f
parent31b6bc74b91ba659689dab1d316d72af27625e4d
OpenZFS 6101 - attempt to lzc_create() a filesystem under a volume results in a panic

Authored by: Andriy Gapon <avg@FreeBSD.org>
Approved by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Ported-by: Giuseppe Di Natale <dinatale2@llnl.gov>
When querying ZPL properties verify that the objset is of type
DMU_OST_ZFS.

OpenZFS-issue: https://www.illumos.org/issues/6101
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/ce2243a
Closes #6015
module/zfs/zfs_ioctl.c
module/zfs/zfs_vfsops.c