Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344849
b: refs/heads/master
c: 3779473
h: refs/heads/master
i:
  344847: 58178d0
v: v3
  • Loading branch information
Zheng Liu authored and Theodore Ts'o committed Nov 8, 2012
1 parent cd73ec0 commit 2bd86f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 19b303d8b5a0e8150a4697c01ca03e75a0a17469
refs/heads/master: 37794732467dd998a34bfce19738ad3ef1f37507
7 changes: 4 additions & 3 deletions trunk/fs/ext4/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -3911,7 +3911,7 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
struct ext4_extent newex, *ex, *ex2;
struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb);
ext4_fsblk_t newblock = 0;
int free_on_err = 0, err = 0, depth, ret;
int free_on_err = 0, err = 0, depth;
unsigned int allocated = 0, offset = 0;
unsigned int allocated_clusters = 0;
struct ext4_allocation_request ar;
Expand Down Expand Up @@ -4007,10 +4007,10 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
ee_len, ee_start);
goto out;
}
ret = ext4_ext_handle_uninitialized_extents(
allocated = ext4_ext_handle_uninitialized_extents(
handle, inode, map, path, flags,
allocated, newblock);
return ret;
goto out3;
}
}

Expand Down Expand Up @@ -4284,6 +4284,7 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
kfree(path);
}

out3:
trace_ext4_ext_map_blocks_exit(inode, map, err ? err : allocated);

return err ? err : allocated;
Expand Down

0 comments on commit 2bd86f6

Please sign in to comment.