]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r277501 (by will): Eliminate an #ifdef illumos for zfs_ioc_rename().
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 20 Mar 2016 20:23:20 +0000 (20:23 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 20 Mar 2016 20:23:20 +0000 (20:23 +0000)
commit03b3571b7508b4152ebd7de888e02c410468f3ba
tree7bab4d736aba0b3e582a3597e94a17a2e37657ea
parenta470e3622e57511b3fdd5b6dfe24c00511d6980a
MFC r277501 (by will): Eliminate an #ifdef illumos for zfs_ioc_rename().

Since allow_mounted is a FreeBSD-specific change, default to B_TRUE, then
locally check for the magic bit.  Unconditionally check allow_mounted below.
Convert the setting of allow_mounted to an explicit boolean.

MFSpectraBSD:   672578 (in part) on 2013/07/19

git-svn-id: svn://svn.freebsd.org/base/stable/10@297080 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c