ext4: add ext4_ prefix for ext_block and idx_pblock
PATCH 1/2 ext4: add ext4_ prefix for ext_block and idx_pblock
Rename functions ext_block to ext4_ext_block and idx_pblock to ext4_idx_pblock since ext_block & ext4_ext_store_pblock are a pair and idx_pblock & ext4_idx_store_pblock are a pair.
idx_pblock is a non-static function, too.
Signed-off-by Shen Feng <[email protected]>
--- fs/ext4/ext4_extents.h | 2 +- fs/ext4/extents.c | 93 +++++++++++++++++++++++++----------------------- fs/ext4/migrate.c | 2 +- 3 files changed, 50 insertions(+), 47 deletions(-)
fs/ext4/ext4_extents.h +1 -1
@@ -212,7 +212,7 @@ static inline int ext4_ext_get_actual_len(struct ext4_extent *ext) (le16_to_cpu(ext->ee_len) - EXT_INIT_MAX_LEN)); } -extern ext4_fsblk_t idx_pblock (struct ext4_extent_idx *); +extern ext4_fsblk_t ext4_idx_pblock (struct ext4_extent_idx *);extern void ext4_ext_store_pblock (struct ext4_extent *,ext4_fsblk_t );extern int ext4_ext_calc_credits_for_insert (struct inode *,struct ext4_ext_path *); extern int ext4_ext_try_to_merge(struct inode *inode,
fs/ext4/extents.c +48 -45
345 lines not on this page · raw message
fs/ext4/migrate.c +1 -1
@@ -402,7 +402,7 @@ static int free_ext_idx(handle_t *handle, struct inode *inode,struct buffer_head *bh;struct ext4_extent_header *eh; - block =idx_pblock (ix); + block =ext4_idx_pblock (ix); bh =sb_bread (inode->i_sb, block);if (!bh)return -EIO ;
Signature · 1 line
1.5.4.5