Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361585
b: refs/heads/master
c: 6ca470d
h: refs/heads/master
i:
  361583: 2bd4fcb
v: v3
  • Loading branch information
Dmitry Monakhov authored and Theodore Ts'o committed Mar 4, 2013
1 parent a05cc52 commit a1f9e5c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: de99fcce1da7933a90198b80a2e896754ea3bdc8
refs/heads/master: 6ca470d7b5e7639b7925b3202e796282703b6d5d
8 changes: 8 additions & 0 deletions trunk/fs/ext4/move_extent.c
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,14 @@ mext_replace_branches(handle_t *handle, struct inode *orig_inode,
int replaced_count = 0;
int dext_alen;

*err = ext4_es_remove_extent(orig_inode, from, count);
if (*err)
goto out;

*err = ext4_es_remove_extent(donor_inode, from, count);
if (*err)
goto out;

/* Get the original extent for the block "orig_off" */
*err = get_ext_path(orig_inode, orig_off, &orig_path);
if (*err)
Expand Down

0 comments on commit a1f9e5c

Please sign in to comment.