Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131384
b: refs/heads/master
c: 0905426
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Theodore Ts'o committed Feb 16, 2009
1 parent ee0ec1f commit b132f68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 2acf2c261b823d9d9ed954f348b97620297a36b5
refs/heads/master: 090542641de833c6f756895fc2f139f046e298f9
8 changes: 3 additions & 5 deletions trunk/fs/ext4/migrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,16 +481,15 @@ int ext4_ext_migrate(struct inode *inode)
+ 1);
if (IS_ERR(handle)) {
retval = PTR_ERR(handle);
goto err_out;
return retval;
}
tmp_inode = ext4_new_inode(handle,
inode->i_sb->s_root->d_inode,
S_IFREG);
if (IS_ERR(tmp_inode)) {
retval = -ENOMEM;
ext4_journal_stop(handle);
tmp_inode = NULL;
goto err_out;
return retval;
}
i_size_write(tmp_inode, i_size_read(inode));
/*
Expand Down Expand Up @@ -618,8 +617,7 @@ int ext4_ext_migrate(struct inode *inode)

ext4_journal_stop(handle);

if (tmp_inode)
iput(tmp_inode);
iput(tmp_inode);

return retval;
}

0 comments on commit b132f68

Please sign in to comment.