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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 035516c80df2..edcf3b0239d1 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1013,7 +1013,6 @@ static ssize_t ext4_quota_write(struct super_block *sb, int type,
1013 const char *data, size_t len, loff_t off); 1013 const char *data, size_t len, loff_t off);
1014 1014
1015static const struct dquot_operations ext4_quota_operations = { 1015static const struct dquot_operations ext4_quota_operations = {
1016 .initialize = dquot_initialize,
1017#ifdef CONFIG_QUOTA 1016#ifdef CONFIG_QUOTA
1018 .get_reserved_space = ext4_get_reserved_space, 1017 .get_reserved_space = ext4_get_reserved_space,
1019#endif 1018#endif
@@ -1931,7 +1930,7 @@ static void ext4_orphan_cleanup(struct super_block *sb,
1931 } 1930 }
1932 1931
1933 list_add(&EXT4_I(inode)->i_orphan, &EXT4_SB(sb)->s_orphan); 1932 list_add(&EXT4_I(inode)->i_orphan, &EXT4_SB(sb)->s_orphan);
1934 vfs_dq_init(inode); 1933 dquot_initialize(inode);
1935 if (inode->i_nlink) { 1934 if (inode->i_nlink) {
1936 ext4_msg(sb, KERN_DEBUG, 1935 ext4_msg(sb, KERN_DEBUG,
1937 "%s: truncating inode %lu to %lld bytes", 1936 "%s: truncating inode %lu to %lld bytes",
@@ -3700,7 +3699,7 @@ static int ext4_statfs(struct dentry *dentry, struct kstatfs *buf)
3700 * Process 1 Process 2 3699 * Process 1 Process 2
3701 * ext4_create() quota_sync() 3700 * ext4_create() quota_sync()
3702 * jbd2_journal_start() write_dquot() 3701 * jbd2_journal_start() write_dquot()
3703 * vfs_dq_init() down(dqio_mutex) 3702 * dquot_initialize() down(dqio_mutex)
3704 * down(dqio_mutex) jbd2_journal_start() 3703 * down(dqio_mutex) jbd2_journal_start()
3705 * 3704 *
3706 */ 3705 */