aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 5a238e9c71ce..f7371a6a923d 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1804,7 +1804,7 @@ static void ext4_orphan_cleanup(struct super_block *sb,
1804 } 1804 }
1805 1805
1806 list_add(&EXT4_I(inode)->i_orphan, &EXT4_SB(sb)->s_orphan); 1806 list_add(&EXT4_I(inode)->i_orphan, &EXT4_SB(sb)->s_orphan);
1807 DQUOT_INIT(inode); 1807 vfs_dq_init(inode);
1808 if (inode->i_nlink) { 1808 if (inode->i_nlink) {
1809 printk(KERN_DEBUG 1809 printk(KERN_DEBUG
1810 "%s: truncating inode %lu to %lld bytes\n", 1810 "%s: truncating inode %lu to %lld bytes\n",
@@ -3369,8 +3369,8 @@ static int ext4_statfs(struct dentry *dentry, struct kstatfs *buf)
3369 * is locked for write. Otherwise the are possible deadlocks: 3369 * is locked for write. Otherwise the are possible deadlocks:
3370 * Process 1 Process 2 3370 * Process 1 Process 2
3371 * ext4_create() quota_sync() 3371 * ext4_create() quota_sync()
3372 * jbd2_journal_start() write_dquot() 3372 * jbd2_journal_start() write_dquot()
3373 * DQUOT_INIT() down(dqio_mutex) 3373 * vfs_dq_init() down(dqio_mutex)
3374 * down(dqio_mutex) jbd2_journal_start() 3374 * down(dqio_mutex) jbd2_journal_start()
3375 * 3375 *
3376 */ 3376 */