mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +03:00
Merge branch 'zpl'
This commit is contained in:
@@ -910,10 +910,8 @@ dmu_objset_snapshot_one(const char *name, void *arg)
|
||||
* permission checks for the starting dataset have already been
|
||||
* performed in zfs_secpolicy_snapshot()
|
||||
*/
|
||||
#ifdef HAVE_ZPL
|
||||
if (sn->recursive && (err = zfs_secpolicy_snapshot_perms(name, CRED())))
|
||||
return (err);
|
||||
#endif
|
||||
|
||||
err = dmu_objset_hold(name, sn, &os);
|
||||
if (err != 0)
|
||||
|
||||
Reference in New Issue
Block a user