Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7597
b: refs/heads/master
c: 155ffd0
h: refs/heads/master
i:
  7595: bc69876
v: v3
  • Loading branch information
Nathan Scott committed Sep 2, 2005
1 parent 8b52668 commit 5f7c4cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e69a333b5e0c8c6b687b07665a3cb5545657d2aa
refs/heads/master: 155ffd075caedcea5ad595c95403c71bfc391c4a
12 changes: 2 additions & 10 deletions trunk/fs/xfs/quota/xfs_qm.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,11 +388,8 @@ xfs_qm_mount_quotas(
goto write_changes;
}

#if defined(DEBUG) && defined(XFS_LOUD_RECOVERY)
cmn_err(CE_NOTE, "Attempting to turn on disk quotas.");
#endif

ASSERT(XFS_IS_QUOTA_RUNNING(mp));

/*
* Allocate the quotainfo structure inside the mount struct, and
* create quotainode(s), and change/rev superblock if necessary.
Expand All @@ -410,19 +407,14 @@ xfs_qm_mount_quotas(
*/
if (XFS_QM_NEED_QUOTACHECK(mp) &&
!(mfsi_flags & XFS_MFSI_NO_QUOTACHECK)) {
#ifdef DEBUG
cmn_err(CE_NOTE, "Doing a quotacheck. Please wait.");
#endif
if ((error = xfs_qm_quotacheck(mp))) {
/* Quotacheck has failed and quotas have
* been disabled.
*/
return XFS_ERROR(error);
}
#ifdef DEBUG
cmn_err(CE_NOTE, "Done quotacheck.");
#endif
}

write_changes:
/*
* We actually don't have to acquire the SB_LOCK at all.
Expand Down

0 comments on commit 5f7c4cb

Please sign in to comment.