diff options
author | eschrock <none@none> | 2006-01-30 22:19:55 -0800 |
---|---|---|
committer | eschrock <none@none> | 2006-01-30 22:19:55 -0800 |
commit | 7f7322febbcfe774b7270abc3b191c094bfcc517 (patch) | |
tree | eb247fc8a0829b1095274d3751a7ec071f512e35 /usr/src/lib/libzfs/common/libzfs.h | |
parent | 9d14cf08bcba73bac30314cd22629a0fec28f929 (diff) | |
download | illumos-joyent-7f7322febbcfe774b7270abc3b191c094bfcc517.tar.gz |
6377671 zfs mount -a shouldn't bother checking snapshots
6377673 'zfs mount -a' should discover the proper mount order
6378361 'zfs share -a' needs to avoid expensive checks during boot
6378377 zfs_get_stats() is way to expensive
6378388 zfs_for_each() iterates unnecessarily
Diffstat (limited to 'usr/src/lib/libzfs/common/libzfs.h')
-rw-r--r-- | usr/src/lib/libzfs/common/libzfs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/lib/libzfs/common/libzfs.h b/usr/src/lib/libzfs/common/libzfs.h index 0af03f460d..f6e6225d67 100644 --- a/usr/src/lib/libzfs/common/libzfs.h +++ b/usr/src/lib/libzfs/common/libzfs.h @@ -183,7 +183,7 @@ int zfs_prop_inheritable(zfs_prop_t); int zfs_prop_inherit(zfs_handle_t *, zfs_prop_t); const char *zfs_prop_values(zfs_prop_t); int zfs_prop_valid_for_type(zfs_prop_t, int); -void zfs_prop_default_string(zfs_prop_t prop, char *buf, size_t buflen); +const char *zfs_prop_default_string(zfs_prop_t prop); uint64_t zfs_prop_default_numeric(zfs_prop_t); int zfs_prop_is_string(zfs_prop_t prop); const char *zfs_prop_column_name(zfs_prop_t); @@ -201,6 +201,8 @@ typedef int (*zfs_iter_f)(zfs_handle_t *, void *); extern int zfs_iter_root(zfs_iter_f, void *); extern int zfs_iter_children(zfs_handle_t *, zfs_iter_f, void *); extern int zfs_iter_dependents(zfs_handle_t *, zfs_iter_f, void *); +extern int zfs_iter_filesystems(zfs_handle_t *, zfs_iter_f, void *); +extern int zfs_iter_snapshots(zfs_handle_t *, zfs_iter_f, void *); /* * Functions to create and destroy datasets. |