zfs_ioc_promote does not check new name length for shared snapshots
Or, more specifically, this should be a job of
Right now, if a clone has a longer name that a dataset from which it was branched, then the promotion of the clone may result in a snapshot name that's longer than
MAXNAMELEN, because the shared snapshots are reassigned to the promoted dataset.
The too long name leads to several problem...
Updated by Electric Monk over 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit cb5842f8b0caaad0ed53535bd77042e933fdbafe Author: Andriy Gapon <email@example.com> Date: 2015-05-27T14:51:23.000Z 5909 ensure that shared snap names don't become too long after promotion Reviewed by: Matthew Ahrens <firstname.lastname@example.org> Reviewed by: George Wilson <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>