]> git.proxmox.com Git - mirror_zfs.git/commit - tests/runfiles/linux.run
Don't count '@' for dataset namelen if not a snapshot
authorChunwei Chen <tuxoko@gmail.com>
Fri, 9 Dec 2016 18:52:08 +0000 (10:52 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 9 Dec 2016 18:52:08 +0000 (11:52 -0700)
commita806cb6a89589d4e1e57a01161b4ce0e2d53523a
treed8b484da115493b5f12c72e8c50e70933f3e5de9
parentc077090a9b11d42c0734f0741ca08d0c9b6b37b0
Don't count '@' for dataset namelen if not a snapshot

Don't count '@' for dataset namelen if not a snapshot.  This
fixes making a pool unimportable when the  dataset namelen
is 255.

Add test file for zfs create name length 255.

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #5432
Closes #5456
module/zfs/dsl_dataset.c
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_014_pos.ksh [new file with mode: 0755]