Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146405
b: refs/heads/master
c: a41f207
h: refs/heads/master
i:
  146403: af51463
v: v3
  • Loading branch information
Aneesh Kumar K.V authored and Theodore Ts'o committed Jun 10, 2009
1 parent 2c43882 commit 246634a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0eab928221bac8895a0b494a16a8810002bd8645
refs/heads/master: a41f20716975910d9beb90b7efc61107901492b8
8 changes: 6 additions & 2 deletions trunk/fs/ext4/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -2083,12 +2083,16 @@ ext4_ext_rm_leaf(handle_t *handle, struct inode *inode,
ex = EXT_LAST_EXTENT(eh);

ex_ee_block = le32_to_cpu(ex->ee_block);
if (ext4_ext_is_uninitialized(ex))
uninitialized = 1;
ex_ee_len = ext4_ext_get_actual_len(ex);

while (ex >= EXT_FIRST_EXTENT(eh) &&
ex_ee_block + ex_ee_len > start) {

if (ext4_ext_is_uninitialized(ex))
uninitialized = 1;
else
uninitialized = 0;

ext_debug("remove ext %lu:%u\n", ex_ee_block, ex_ee_len);
path[depth].p_ext = ex;

Expand Down

0 comments on commit 246634a

Please sign in to comment.