Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 55138
b: refs/heads/master
c: 646d5bd
h: refs/heads/master
v: v3
  • Loading branch information
Donald Douwsma authored and Tim Shimmin committed May 8, 2007
1 parent cc9832b commit 59bb742
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e7a23a9b37c395a153a541d4c50e166eef6abe49
refs/heads/master: 646d5bdab38c88f4b9088d4e517986a3f3b0edb9
11 changes: 11 additions & 0 deletions trunk/fs/xfs/quota/xfs_qm.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,17 @@ xfs_qm_mount_quotas(
return XFS_ERROR(error);
}
}
/*
* If one type of quotas is off, then it will lose its
* quotachecked status, since we won't be doing accounting for
* that type anymore.
*/
if (!XFS_IS_UQUOTA_ON(mp)) {
mp->m_qflags &= ~XFS_UQUOTA_CHKD;
}
if (!(XFS_IS_GQUOTA_ON(mp) || XFS_IS_PQUOTA_ON(mp))) {
mp->m_qflags &= ~XFS_OQUOTA_CHKD;
}

write_changes:
/*
Expand Down

0 comments on commit 59bb742

Please sign in to comment.