summaryrefslogtreecommitdiff
path: root/include/ext4_fs.h
diff options
context:
space:
mode:
authorngkaho1234 <ngkaho1234@gmail.com>2016-02-03 22:17:47 +0800
committerngkaho1234 <ngkaho1234@gmail.com>2016-02-03 22:17:47 +0800
commite27d9e814cf11b9e95ef87852787b0137c9cbe7a (patch)
treed92982300267b286dcc33e01a9f31a686b68a70d /include/ext4_fs.h
parent1a75ade57c50a58d8d6797f41cc0d9bf8edb4c47 (diff)
Fix type mismatch.
Diffstat (limited to 'include/ext4_fs.h')
-rw-r--r--include/ext4_fs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ext4_fs.h b/include/ext4_fs.h
index 06eea0e..b598c5e 100644
--- a/include/ext4_fs.h
+++ b/include/ext4_fs.h
@@ -238,7 +238,7 @@ int ext4_fs_indirect_find_goal(struct ext4_inode_ref *inode_ref,
* @return Error code
*/
int ext4_fs_get_inode_dblk_idx(struct ext4_inode_ref *inode_ref,
- uint64_t iblock, ext4_fsblk_t *fblock,
+ ext4_lblk_t iblock, ext4_fsblk_t *fblock,
bool support_unwritten);
/**@brief Initialize a part of unwritten range of the inode.
@@ -248,7 +248,7 @@ int ext4_fs_get_inode_dblk_idx(struct ext4_inode_ref *inode_ref,
* @return Error code
*/
int ext4_fs_init_inode_dblk_idx(struct ext4_inode_ref *inode_ref,
- uint64_t iblock, ext4_fsblk_t *fblock);
+ ext4_lblk_t iblock, ext4_fsblk_t *fblock);
/**@brief Append following logical block to the i-node.
* @param inode_ref I-node to append block to
@@ -257,7 +257,7 @@ int ext4_fs_init_inode_dblk_idx(struct ext4_inode_ref *inode_ref,
* @return Error code
*/
int ext4_fs_append_inode_dblk(struct ext4_inode_ref *inode_ref,
- ext4_fsblk_t *fblock, uint32_t *iblock);
+ ext4_fsblk_t *fblock, ext4_lblk_t *iblock);
/**@brief Increment inode link count.
* @param inode none handle