Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242394
b: refs/heads/master
c: 65922cb
h: refs/heads/master
v: v3
  • Loading branch information
Sergey Senozhatsky authored and Theodore Ts'o committed Mar 23, 2011
1 parent 1e68562 commit 970210c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 6de9843dab3f2a1d4d66d80aa9e5782f80977d20
refs/heads/master: 65922cb5ced76ba7182e955d4aada96f93446b1a
5 changes: 1 addition & 4 deletions trunk/fs/ext4/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -3112,14 +3112,13 @@ static int check_eofblocks_fl(handle_t *handle, struct inode *inode,
{
int i, depth;
struct ext4_extent_header *eh;
struct ext4_extent *ex, *last_ex;
struct ext4_extent *last_ex;

if (!ext4_test_inode_flag(inode, EXT4_INODE_EOFBLOCKS))
return 0;

depth = ext_depth(inode);
eh = path[depth].p_hdr;
ex = path[depth].p_ext;

if (unlikely(!eh->eh_entries)) {
EXT4_ERROR_INODE(inode, "eh->eh_entries == 0 and "
Expand Down Expand Up @@ -3299,7 +3298,6 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
struct ext4_map_blocks *map, int flags)
{
struct ext4_ext_path *path = NULL;
struct ext4_extent_header *eh;
struct ext4_extent newex, *ex;
ext4_fsblk_t newblock = 0;
int err = 0, depth, ret;
Expand Down Expand Up @@ -3357,7 +3355,6 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
err = -EIO;
goto out2;
}
eh = path[depth].p_hdr;

ex = path[depth].p_ext;
if (ex) {
Expand Down

0 comments on commit 970210c

Please sign in to comment.