]> granicus.if.org Git - zfs/blobdiff - include/sys/zfs_ioctl.h
OpenZFS 8604 - Simplify snapshots unmounting code
[zfs] / include / sys / zfs_ioctl.h
index 301f93fe445ee6b0dead4e89cb5ea27165b22976..ab562d24bfa8f27c53034c051607d4a7a2645634 100644 (file)
@@ -20,7 +20,7 @@
  */
 /*
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2012, 2016 by Delphix. All rights reserved.
+ * Copyright (c) 2012, 2017 by Delphix. All rights reserved.
  * Copyright 2016 RackTop Systems.
  * Copyright (c) 2017, Intel Corporation.
  */
@@ -484,10 +484,11 @@ typedef struct zfs_creat {
 extern int zfs_secpolicy_snapshot_perms(const char *, cred_t *);
 extern int zfs_secpolicy_rename_perms(const char *, const char *, cred_t *);
 extern int zfs_secpolicy_destroy_perms(const char *, cred_t *);
-extern int zfs_unmount_snap(const char *);
+extern void zfs_unmount_snap(const char *);
 extern void zfs_destroy_unmount_origin(const char *);
 extern boolean_t dataset_name_hidden(const char *);
 extern int getzfsvfs_impl(struct objset *, struct zfsvfs **);
+extern int getzfsvfs(const char *, struct zfsvfs **);
 
 enum zfsdev_state_type {
        ZST_ONEXIT,