Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282957
b: refs/heads/master
c: 14d7f3e
h: refs/heads/master
i:
  282955: e50ef38
v: v3
  • Loading branch information
Curt Wohlgemuth authored and Theodore Ts'o committed Dec 18, 2011
1 parent e07226e commit d1372f1
Show file tree
Hide file tree
Showing 2 changed files with 2 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: acd6ad83517639e8f09a8c5525b1dccd81cd2a10
refs/heads/master: 14d7f3efe923bc60839c65f9818793c64b4d708b
3 changes: 1 addition & 2 deletions trunk/fs/ext4/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -3625,7 +3625,7 @@ static int get_implied_cluster_alloc(struct super_block *sb,
struct ext4_sb_info *sbi = EXT4_SB(sb);
ext4_lblk_t c_offset = map->m_lblk & (sbi->s_cluster_ratio-1);
ext4_lblk_t ex_cluster_start, ex_cluster_end;
ext4_lblk_t rr_cluster_start, rr_cluster_end;
ext4_lblk_t rr_cluster_start;
ext4_lblk_t ee_block = le32_to_cpu(ex->ee_block);
ext4_fsblk_t ee_start = ext4_ext_pblock(ex);
unsigned short ee_len = ext4_ext_get_actual_len(ex);
Expand All @@ -3636,7 +3636,6 @@ static int get_implied_cluster_alloc(struct super_block *sb,

/* The requested region passed into ext4_map_blocks() */
rr_cluster_start = EXT4_B2C(sbi, map->m_lblk);
rr_cluster_end = EXT4_B2C(sbi, map->m_lblk + map->m_len - 1);

if ((rr_cluster_start == ex_cluster_end) ||
(rr_cluster_start == ex_cluster_start)) {
Expand Down

0 comments on commit d1372f1

Please sign in to comment.