diff options
author | khng300 <[email protected]> | 2021-02-10 03:17:29 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-09 11:17:29 -0800 |
commit | fc273894d2eda03a9317f7e28b9ce2816bb95db4 (patch) | |
tree | cd8c4f02a4aef6bb7704b19f57302efa84d3c359 /include/os | |
parent | 4f22619ae3ab62c60ae718bd911eb2d988ae168d (diff) |
Rename zfs_inode_update to zfs_znode_update_vfs
zfs_znode_update_vfs is a more platform-agnostic name than
zfs_inode_update. Besides that, the function's prototype is moved to
include/sys/zfs_znode.h as the function is also used in common code.
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ka Ho Ng <[email protected]>
Sponsored by: The FreeBSD Foundation
Closes #11580
Diffstat (limited to 'include/os')
-rw-r--r-- | include/os/freebsd/zfs/sys/zfs_znode_impl.h | 1 | ||||
-rw-r--r-- | include/os/linux/zfs/sys/zfs_znode_impl.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/os/freebsd/zfs/sys/zfs_znode_impl.h b/include/os/freebsd/zfs/sys/zfs_znode_impl.h index 5783fac58..186afa9b2 100644 --- a/include/os/freebsd/zfs/sys/zfs_znode_impl.h +++ b/include/os/freebsd/zfs/sys/zfs_znode_impl.h @@ -180,7 +180,6 @@ extern int zfsfstype; extern int zfs_znode_parent_and_name(struct znode *zp, struct znode **dzpp, char *buf); -extern void zfs_inode_update(struct znode *); #ifdef __cplusplus } #endif diff --git a/include/os/linux/zfs/sys/zfs_znode_impl.h b/include/os/linux/zfs/sys/zfs_znode_impl.h index c3b461e70..b1a91f666 100644 --- a/include/os/linux/zfs/sys/zfs_znode_impl.h +++ b/include/os/linux/zfs/sys/zfs_znode_impl.h @@ -158,7 +158,6 @@ struct znode; extern int zfs_sync(struct super_block *, int, cred_t *); extern int zfs_inode_alloc(struct super_block *, struct inode **ip); extern void zfs_inode_destroy(struct inode *); -extern void zfs_inode_update(struct znode *); extern void zfs_mark_inode_dirty(struct inode *); extern boolean_t zfs_relatime_need_update(const struct inode *); |