]> granicus.if.org Git - zfs/commit
Illumos #3744
authorWill Andrews <will@firepipe.net>
Tue, 11 Jun 2013 17:13:43 +0000 (09:13 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 4 Nov 2013 18:55:25 +0000 (10:55 -0800)
commitd09f25dc66774959499a89bf3680d09c6e541ce8
tree572924cf4a1727f24854aa0b5ba8d9f9e60ded45
parent3a84951d7dfb5357509a1ed1699f80b71f87982a
Illumos #3744

3744 zfs shouldn't ignore errors unmounting snapshots
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Christopher Siden <christopher.siden@delphix.com>

References:
  https://www.illumos.org/issues/3744
  illumos/illumos-gate@fc7a6e3fefc649cb65c8e2a35d194781445008b0

Ported-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #1775

Porting notes:

1. There is no clear way to distinguish between a failure when we
   tried to unmount the snapdir of a zvol (which does not exist)
   and the failure when we try to unmount a snapdir of a dataset,
   so the changes to zfs_unmount_snap() were dropped in favor of
   an altered Linux function that unconditionally returns 0.
include/sys/zfs_ioctl.h
module/zfs/dsl_userhold.c
module/zfs/zfs_ioctl.c