fix a fallout from the ZTOV tightening, r323479
MFC after: 13 days X-MFC with: r323479
This commit is contained in:
parent
69d14913fc
commit
1a2ddb2997
@ -1602,7 +1602,10 @@ zfs_acl_ids_create(znode_t *dzp, int flag, vattr_t *vap, cred_t *cr,
|
||||
boolean_t trim = B_FALSE;
|
||||
boolean_t inherited = B_FALSE;
|
||||
|
||||
ASSERT_VOP_ELOCKED(ZTOV(dzp), __func__);
|
||||
if ((flag & IS_ROOT_NODE) == 0)
|
||||
ASSERT_VOP_ELOCKED(ZTOV(dzp), __func__);
|
||||
else
|
||||
ASSERT(dzp->z_vnode == NULL);
|
||||
bzero(acl_ids, sizeof (zfs_acl_ids_t));
|
||||
acl_ids->z_mode = MAKEIMODE(vap->va_type, vap->va_mode);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user