diff options
-rw-r--r-- | fs/ext4/ioctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index 0b3e2486f988..0edee31913d1 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c | |||
@@ -380,7 +380,9 @@ static int ext4_ioctl_setproject(struct file *filp, __u32 projid) | |||
380 | brelse(iloc.bh); | 380 | brelse(iloc.bh); |
381 | } | 381 | } |
382 | 382 | ||
383 | dquot_initialize(inode); | 383 | err = dquot_initialize(inode); |
384 | if (err) | ||
385 | return err; | ||
384 | 386 | ||
385 | handle = ext4_journal_start(inode, EXT4_HT_QUOTA, | 387 | handle = ext4_journal_start(inode, EXT4_HT_QUOTA, |
386 | EXT4_QUOTA_INIT_BLOCKS(sb) + | 388 | EXT4_QUOTA_INIT_BLOCKS(sb) + |