#include <linux/slab.h>
#include "ext4_jbd2.h"
#include "ext4_extents.h"
struct migrate_struct { … };
static int finish_range(handle_t *handle, struct inode *inode,
struct migrate_struct *lb)
{ … }
static int update_extent_range(handle_t *handle, struct inode *inode,
ext4_fsblk_t pblock, struct migrate_struct *lb)
{ … }
static int update_ind_extent_range(handle_t *handle, struct inode *inode,
ext4_fsblk_t pblock,
struct migrate_struct *lb)
{ … }
static int update_dind_extent_range(handle_t *handle, struct inode *inode,
ext4_fsblk_t pblock,
struct migrate_struct *lb)
{ … }
static int update_tind_extent_range(handle_t *handle, struct inode *inode,
ext4_fsblk_t pblock,
struct migrate_struct *lb)
{ … }
static int free_dind_blocks(handle_t *handle,
struct inode *inode, __le32 i_data)
{ … }
static int free_tind_blocks(handle_t *handle,
struct inode *inode, __le32 i_data)
{ … }
static int free_ind_block(handle_t *handle, struct inode *inode, __le32 *i_data)
{ … }
static int ext4_ext_swap_inode_data(handle_t *handle, struct inode *inode,
struct inode *tmp_inode)
{ … }
static int free_ext_idx(handle_t *handle, struct inode *inode,
struct ext4_extent_idx *ix)
{ … }
static int free_ext_block(handle_t *handle, struct inode *inode)
{ … }
int ext4_ext_migrate(struct inode *inode)
{ … }
int ext4_ind_migrate(struct inode *inode)
{ … }