]> git.proxmox.com Git - mirror_zfs.git/commit
Fix changelist mounted-dataset iteration
authorAlek P <alek-p@users.noreply.github.com>
Thu, 11 Oct 2018 04:13:13 +0000 (00:13 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 11 Oct 2018 04:13:13 +0000 (21:13 -0700)
commit50a343d85c04698d51c154375a00994dea81e6db
tree4495b175447ed0a18a8540e7eb7461bfb4d52183
parent5b3bfd86a4acd0fd572802de6eb8bfed322dd470
Fix changelist mounted-dataset iteration

Commit 0c6d093 caused a regression in the inherit codepath.
The fix is to restrict the changelist iteration on mountpoints and
add proper handling for 'legacy' mountpoints

Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alek Pinchuk <apinchuk@datto.com>
Closes #7988
Closes #7991
include/libzfs_impl.h
lib/libzfs/libzfs_changelist.c
lib/libzfs/libzfs_dataset.c
lib/libzfs/libzfs_mount.c
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/cli_root/zfs_inherit/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_mountpoint.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_mountpoint.ksh [new file with mode: 0755]