summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-10-10 15:59:34 -0700
committerBrian Behlendorf <[email protected]>2019-10-10 15:59:34 -0700
commit2516a8782158a1d420aa00ce5f470a33cc7ec2ca (patch)
treedcc3286a6f5e35fbd69ba70f3d59cae87f7d0dfc /include
parent6501906280f8f244710012116ef678007999da67 (diff)
Move get_temporary_prop to platform code
Temporary property handling at the VFS layer requires platform specific code. Reviewed-by: Sean Eric Fagan <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Jorgen Lundman <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9401
Diffstat (limited to 'include')
-rw-r--r--include/os/linux/zfs/sys/zfs_vfsops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/os/linux/zfs/sys/zfs_vfsops.h b/include/os/linux/zfs/sys/zfs_vfsops.h
index 34d957bcb..3a959996f 100644
--- a/include/os/linux/zfs/sys/zfs_vfsops.h
+++ b/include/os/linux/zfs/sys/zfs_vfsops.h
@@ -224,6 +224,8 @@ extern int zfs_statvfs(struct dentry *dentry, struct kstatfs *statp);
extern int zfs_vget(struct super_block *sb, struct inode **ipp, fid_t *fidp);
extern int zfs_prune(struct super_block *sb, unsigned long nr_to_scan,
int *objects);
+extern int zfs_get_temporary_prop(dsl_dataset_t *ds, zfs_prop_t zfs_prop,
+ uint64_t *val, char *setpoint);
#ifdef __cplusplus
}