]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r277501 (by will): Eliminate an #ifdef illumos for zfs_ioc_rename().
authormav <mav@FreeBSD.org>
Sun, 20 Mar 2016 20:23:20 +0000 (20:23 +0000)
committermav <mav@FreeBSD.org>
Sun, 20 Mar 2016 20:23:20 +0000 (20:23 +0000)
commitb2ea9835e676b0ce65d3cc773d07ab89603cbe83
tree7bab4d736aba0b3e582a3597e94a17a2e37657ea
parentb4affa0246b12e289d1d0015629b5668660b925e
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
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c