diff options
Diffstat (limited to 'fs/ext2/ialloc.c')
| -rw-r--r-- | fs/ext2/ialloc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ext2/ialloc.c b/fs/ext2/ialloc.c index 77e059149212..c8d07030c897 100644 --- a/fs/ext2/ialloc.c +++ b/fs/ext2/ialloc.c | |||
| @@ -612,6 +612,12 @@ got: | |||
| 612 | err = ext2_init_acl(inode, dir); | 612 | err = ext2_init_acl(inode, dir); |
| 613 | if (err) { | 613 | if (err) { |
| 614 | DQUOT_FREE_INODE(inode); | 614 | DQUOT_FREE_INODE(inode); |
| 615 | DQUOT_DROP(inode); | ||
| 616 | goto fail2; | ||
| 617 | } | ||
| 618 | err = ext2_init_security(inode,dir); | ||
| 619 | if (err) { | ||
| 620 | DQUOT_FREE_INODE(inode); | ||
| 615 | goto fail2; | 621 | goto fail2; |
| 616 | } | 622 | } |
| 617 | mark_inode_dirty(inode); | 623 | mark_inode_dirty(inode); |
