aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext2/ialloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext2/ialloc.c')
-rw-r--r--fs/ext2/ialloc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/ext2/ialloc.c b/fs/ext2/ialloc.c
index 5c04a0ddea80..efe5fb21c533 100644
--- a/fs/ext2/ialloc.c
+++ b/fs/ext2/ialloc.c
@@ -577,7 +577,10 @@ got:
577 goto fail; 577 goto fail;
578 } 578 }
579 579
580 dquot_initialize(inode); 580 err = dquot_initialize(inode);
581 if (err)
582 goto fail_drop;
583
581 err = dquot_alloc_inode(inode); 584 err = dquot_alloc_inode(inode);
582 if (err) 585 if (err)
583 goto fail_drop; 586 goto fail_drop;