search for: create_file_ext

Displaying 2 results from an estimated 2 matches for "create_file_ext".

2008 Jan 07
1
[PATCH]Add rollback support for the converter
...he required works, such as inserting + * file extent item, inserting extent item and backref item into extent + * tree and updating block accounting. */ static int record_file_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid, @@ -446,8 +450,7 @@ static int create_file_extents(struct bt static int create_file_extents(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid, struct btrfs_inode_item *btrfs_inode, - ext2_filsys ext2_fs, ext2_ino_t ext2_ino, - struct ext2_inode *ext2_inode) + ext2_filsys ex...
2010 Mar 20
2
[PATCH 4/4] btrfs-convert: split into convert/.
...- u64 blocksize = fs->blocksize; - int ret = add_file_disk_extent(idata, blocksize * blockcnt, - blocksize * *blocknr, blocksize); - if (ret) - return BLOCK_ABORT; - return 0; -} - -/* - * traverse file''s data blocks, record these data blocks as file extents. - */ -static int create_file_extents(struct btrfs_trans_handle *trans, - struct btrfs_root *root, u64 objectid, - struct btrfs_inode_item *btrfs_inode, - ext2_filsys ext2_fs, ext2_ino_t ext2_ino, - int datacsum, int packing) -{ - int ret; - errcode_t err; - u64 inode_nbytes = 0; - u64 inode_size...