Deleted Added
full compact
libzfs_impl.h (185029) libzfs_impl.h (205198)
1/*
2 * CDDL HEADER SART
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

--- 6 unchanged lines hidden (view full) ---

15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22/*
1/*
2 * CDDL HEADER SART
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

--- 6 unchanged lines hidden (view full) ---

15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22/*
23 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27#ifndef _LIBFS_IMPL_H
28#define _LIBFS_IMPL_H
29
30#include <sys/dmu.h>
31#include <sys/fs/zfs.h>

--- 40 unchanged lines hidden (view full) ---

72 char zfs_name[ZFS_MAXNAMELEN];
73 zfs_type_t zfs_type; /* type including snapshot */
74 zfs_type_t zfs_head_type; /* type excluding snapshot */
75 dmu_objset_stats_t zfs_dmustats;
76 nvlist_t *zfs_props;
77 nvlist_t *zfs_user_props;
78 boolean_t zfs_mntcheck;
79 char *zfs_mntopts;
24 * Use is subject to license terms.
25 */
26
27#ifndef _LIBFS_IMPL_H
28#define _LIBFS_IMPL_H
29
30#include <sys/dmu.h>
31#include <sys/fs/zfs.h>

--- 40 unchanged lines hidden (view full) ---

72 char zfs_name[ZFS_MAXNAMELEN];
73 zfs_type_t zfs_type; /* type including snapshot */
74 zfs_type_t zfs_head_type; /* type excluding snapshot */
75 dmu_objset_stats_t zfs_dmustats;
76 nvlist_t *zfs_props;
77 nvlist_t *zfs_user_props;
78 boolean_t zfs_mntcheck;
79 char *zfs_mntopts;
80 uint8_t *zfs_props_table;
80};
81
82/*
83 * This is different from checking zfs_type, because it will also catch
84 * snapshots of volumes.
85 */
86#define ZFS_IS_VOLUME(zhp) ((zhp)->zfs_head_type == ZFS_TYPE_VOLUME)
87

--- 132 unchanged lines hidden ---
81};
82
83/*
84 * This is different from checking zfs_type, because it will also catch
85 * snapshots of volumes.
86 */
87#define ZFS_IS_VOLUME(zhp) ((zhp)->zfs_head_type == ZFS_TYPE_VOLUME)
88

--- 132 unchanged lines hidden ---