aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jfs/super.c')
-rw-r--r--fs/jfs/super.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/jfs/super.c b/fs/jfs/super.c
index 5329d66a970..b8a07d4c108 100644
--- a/fs/jfs/super.c
+++ b/fs/jfs/super.c
@@ -401,14 +401,14 @@ static int jfs_remount(struct super_block *sb, int *flags, char *data)
401 sb->s_flags &= ~MS_RDONLY; 401 sb->s_flags &= ~MS_RDONLY;
402 402
403 unlock_kernel(); 403 unlock_kernel();
404 vfs_dq_quota_on_remount(sb); 404 dquot_resume(sb, -1);
405 return ret; 405 return ret;
406 } 406 }
407 if ((!(sb->s_flags & MS_RDONLY)) && (*flags & MS_RDONLY)) { 407 if ((!(sb->s_flags & MS_RDONLY)) && (*flags & MS_RDONLY)) {
408 rc = vfs_dq_off(sb, 1); 408 rc = dquot_suspend(sb, -1);
409 if (rc < 0 && rc != -ENOSYS) { 409 if (rc < 0) {
410 unlock_kernel(); 410 unlock_kernel();
411 return -EBUSY; 411 return rc;
412 } 412 }
413 rc = jfs_umount_rw(sb); 413 rc = jfs_umount_rw(sb);
414 JFS_SBI(sb)->flag = flag; 414 JFS_SBI(sb)->flag = flag;