diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-23 15:45:34 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-23 15:45:34 +0100 |
commit | c9429aeece3b8642de637f7a21e68046bd690658 (patch) | |
tree | 50bac7c70a89010865a719b89bd44c63a78f1b26 /include/sqfs/inode.h | |
parent | c2a093c9e9fb4889a11982797d75b8608c26da8f (diff) |
Remove the sqfs_inode_copy function
With unified payload size counters, copying an inode is now trivial.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/inode.h')
-rw-r--r-- | include/sqfs/inode.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/sqfs/inode.h b/include/sqfs/inode.h index 0323bef..a6e7111 100644 --- a/include/sqfs/inode.h +++ b/include/sqfs/inode.h @@ -544,24 +544,6 @@ size_t sqfs_inode_get_file_block_count(const sqfs_inode_generic_t *inode) } /** - * @brief Create a deep copy of a generic inode. - * - * The @ref sqfs_inode_generic_t structure contains inlined fields that have a - * size depending on the inode data and pointers to the inlined fields. This - * helper function calculates the actual size of the structure in memory, makes - * a copy and propperly sets up the pointers. - * - * @param src The inode to copy. - * @param copy Returns a pointer to the copy on success. Can be released with a - * single free call. - * - * @return Zero on success, an @ref SQFS_ERROR_CORRUPTED if the node has - * an unknown type set. - */ -SQFS_API int sqfs_inode_copy(const sqfs_inode_generic_t *src, - sqfs_inode_generic_t **copy); - -/** * @brief Get the extended attribute index of an inode * * For basic inodes, this returns the inode index 0xFFFFFFFF, i.e. the |