diff options
Diffstat (limited to 'fs/ext2')
-rw-r--r-- | fs/ext2/super.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 73346de9af5c..318ebc58bb7b 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c | |||
@@ -1250,9 +1250,8 @@ static int ext2_remount (struct super_block * sb, int * flags, char * data) | |||
1250 | es->s_mtime = cpu_to_le32(get_seconds()); | 1250 | es->s_mtime = cpu_to_le32(get_seconds()); |
1251 | spin_unlock(&sbi->s_lock); | 1251 | spin_unlock(&sbi->s_lock); |
1252 | 1252 | ||
1253 | err = vfs_dq_off(sb, 1); | 1253 | err = dquot_suspend(sb, -1); |
1254 | if (err < 0 && err != -ENOSYS) { | 1254 | if (err < 0) { |
1255 | err = -EBUSY; | ||
1256 | spin_lock(&sbi->s_lock); | 1255 | spin_lock(&sbi->s_lock); |
1257 | goto restore_opts; | 1256 | goto restore_opts; |
1258 | } | 1257 | } |
@@ -1281,7 +1280,7 @@ static int ext2_remount (struct super_block * sb, int * flags, char * data) | |||
1281 | 1280 | ||
1282 | ext2_write_super(sb); | 1281 | ext2_write_super(sb); |
1283 | 1282 | ||
1284 | vfs_dq_quota_on_remount(sb); | 1283 | dquot_resume(sb, -1); |
1285 | } | 1284 | } |
1286 | 1285 | ||
1287 | return 0; | 1286 | return 0; |