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 about 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit cb5842f8b0caaad0ed53535bd77042e933fdbafe Author: Andriy Gapon <firstname.lastname@example.org> Date: 2015-05-27T14:51:23.000Z 5909 ensure that shared snap names don't become too long after promotion Reviewed by: Matthew Ahrens <email@example.com> Reviewed by: George Wilson <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>