Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281450
b: refs/heads/master
c: ef6919c
h: refs/heads/master
v: v3
  • Loading branch information
Jan Kara committed Jan 9, 2012
1 parent 0aeb304 commit 09c4a7a
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 1415dd8705394399d59a3df1ab48d149e1e41e77
refs/heads/master: ef6919c283257155def420bd247140e9fd2e9843
7 changes: 5 additions & 2 deletions trunk/fs/ext2/ialloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,11 @@ struct inode *ext2_new_inode(struct inode *dir, int mode,
inode->i_generation = sbi->s_next_generation++;
spin_unlock(&sbi->s_next_gen_lock);
if (insert_inode_locked(inode) < 0) {
err = -EINVAL;
goto fail_drop;
ext2_error(sb, "ext2_new_inode",
"inode number already in use - inode=%lu",
(unsigned long) ino);
err = -EIO;
goto fail;
}

dquot_initialize(inode);
Expand Down

0 comments on commit 09c4a7a

Please sign in to comment.