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 <ryan@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ka Ho Ng <khng300@gmail.com>
Sponsored by: The FreeBSD Foundation
Closes #11580
This commit is contained in:
khng300
2021-02-10 03:17:29 +08:00
committed by GitHub
parent 4f22619ae3
commit fc273894d2
8 changed files with 31 additions and 35 deletions
+1 -1
View File
@@ -665,7 +665,7 @@ zfs_write(znode_t *zp, zfs_uio_t *uio, int ioflag, cred_t *cr)
}
}
zfs_inode_update(zp);
zfs_znode_update_vfs(zp);
zfs_rangelock_exit(lr);
/*