freebsd-dev/sys/cddl/contrib/opensolaris/uts
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
..
common zfsvfs_create(): Refuse to mount datasets whose names are too long. 2014-10-01 14:12:02 +00:00
intel DTrace's pid provider works by inserting breakpoint instructions at probe 2014-04-14 00:22:42 +00:00
mips Add MIPS support to cddl/contrib part: 2012-03-24 04:52:18 +00:00
powerpc Correct the check for errors from proc_rwmem(). 2013-12-11 04:31:40 +00:00
sparc MFC r270195: 2014-08-20 21:44:48 +00:00