freebsd-skq/sys/cddl
Will Andrews fbce0221eb zfsvfs_create(): Refuse to mount datasets whose names are too long.
This is checked for in the zfs_snapshot_004_neg STF/ATF test (currently
still in projects/zfsd rather than head).

sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c:
- zfsvfs_create(): Check whether the objset name fits into
  statfs.f_mntfromname, and return ENAMETOOLONG if not.  Although
  the filesystem can be unmounted via the umount(8) command, any
  interface that relies on iterating on statfs (e.g. libzfs) will
  fail to find the filesystem by its objset name, and thus assume
  it's not mounted.  This causes "zfs unmount", "zfs destroy",
  etc. to fail on these filesystems, whether or not -f is passed.

MFC after:	1 month
Sponsored by:	Spectra Logic
MFSpectraBSD:	974872 on 2013/08/09
2014-10-01 14:12:02 +00:00
..
boot/zfs MFV r271510: 2014-09-13 16:26:14 +00:00
compat/opensolaris Remove sys/types.h include as per style (9) 2014-09-18 20:38:18 +00:00
contrib/opensolaris zfsvfs_create(): Refuse to mount datasets whose names are too long. 2014-10-01 14:12:02 +00:00
dev Fix the stack tracing for dtrace/powerpc. 2014-09-17 02:43:47 +00:00