Skip to content

Commit

Permalink
Illumos 5056 - ZFS deadlock on db_mtx and dn_holds (don't pull)
Browse files Browse the repository at this point in the history
Not for pulling - patch out crgetzoneid(cr) until the appropriate change
can be made in zfsonlinux/spl:include/sys/zone.h (?)
  • Loading branch information
chrisrd committed Mar 31, 2015
1 parent 966cd01 commit 2d17463
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions module/zfs/dsl_dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,8 +706,10 @@ dsl_enforce_ds_ss_limits(dsl_dir_t *dd, zfs_prop_t prop, cred_t *cr)
prop == ZFS_PROP_SNAPSHOT_LIMIT);

#ifdef _KERNEL
#if 0
if (crgetzoneid(cr) != GLOBAL_ZONEID)
return (ENFORCE_ALWAYS);
#endif

if (secpolicy_zfs(cr) == 0)
return (ENFORCE_NEVER);
Expand Down

0 comments on commit 2d17463

Please sign in to comment.