libzfs_dataset.c (329484) | libzfs_dataset.c (329489) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 15 unchanged lines hidden (view full) --- 24 * Copyright (c) 2013, Joyent, Inc. All rights reserved. 25 * Copyright (c) 2011, 2016 by Delphix. All rights reserved. 26 * Copyright (c) 2012 DEY Storage Systems, Inc. All rights reserved. 27 * Copyright (c) 2011-2012 Pawel Jakub Dawidek. All rights reserved. 28 * Copyright (c) 2013 Martin Matuska. All rights reserved. 29 * Copyright (c) 2013 Steven Hartland. All rights reserved. 30 * Copyright (c) 2014 Integros [integros.com] 31 * Copyright 2016 Igor Kozhukhov <ikozhukhov@gmail.com> | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 15 unchanged lines hidden (view full) --- 24 * Copyright (c) 2013, Joyent, Inc. All rights reserved. 25 * Copyright (c) 2011, 2016 by Delphix. All rights reserved. 26 * Copyright (c) 2012 DEY Storage Systems, Inc. All rights reserved. 27 * Copyright (c) 2011-2012 Pawel Jakub Dawidek. All rights reserved. 28 * Copyright (c) 2013 Martin Matuska. All rights reserved. 29 * Copyright (c) 2013 Steven Hartland. All rights reserved. 30 * Copyright (c) 2014 Integros [integros.com] 31 * Copyright 2016 Igor Kozhukhov <ikozhukhov@gmail.com> |
32 * Copyright 2016 Nexenta Systems, Inc. | 32 * Copyright 2017 Nexenta Systems, Inc. |
33 * Copyright 2017 RackTop Systems. 34 */ 35 36#include <ctype.h> 37#include <errno.h> 38#include <libintl.h> 39#include <math.h> 40#include <stdio.h> --- 3476 unchanged lines hidden (view full) --- 3517 "parent '%s' is not a filesystem"), parent); 3518 return (zfs_error(hdl, EZFS_BADTYPE, errbuf)); 3519 3520 case ENOTSUP: 3521 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 3522 "pool must be upgraded to set this " 3523 "property or value")); 3524 return (zfs_error(hdl, EZFS_BADVERSION, errbuf)); | 33 * Copyright 2017 RackTop Systems. 34 */ 35 36#include <ctype.h> 37#include <errno.h> 38#include <libintl.h> 39#include <math.h> 40#include <stdio.h> --- 3476 unchanged lines hidden (view full) --- 3517 "parent '%s' is not a filesystem"), parent); 3518 return (zfs_error(hdl, EZFS_BADTYPE, errbuf)); 3519 3520 case ENOTSUP: 3521 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 3522 "pool must be upgraded to set this " 3523 "property or value")); 3524 return (zfs_error(hdl, EZFS_BADVERSION, errbuf)); |
3525 case ERANGE: 3526 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 3527 "invalid property value(s) specified")); 3528 return (zfs_error(hdl, EZFS_BADPROP, errbuf)); |
|
3525#ifdef _ILP32 3526 case EOVERFLOW: 3527 /* 3528 * This platform can't address a volume this big. 3529 */ 3530 if (type == ZFS_TYPE_VOLUME) 3531 return (zfs_error(hdl, EZFS_VOLTOOBIG, 3532 errbuf)); --- 1542 unchanged lines hidden --- | 3529#ifdef _ILP32 3530 case EOVERFLOW: 3531 /* 3532 * This platform can't address a volume this big. 3533 */ 3534 if (type == ZFS_TYPE_VOLUME) 3535 return (zfs_error(hdl, EZFS_VOLTOOBIG, 3536 errbuf)); --- 1542 unchanged lines hidden --- |