aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-09-02 02:43:48 -0400
committerNathan Scott <nathans@sgi.com>2005-09-02 02:43:48 -0400
commit155ffd075caedcea5ad595c95403c71bfc391c4a (patch)
treef7bb6d19d22cd94d7d160f305afd84d55c0231b9 /fs
parente69a333b5e0c8c6b687b07665a3cb5545657d2aa (diff)
[XFS] Remove extraneous quotacheck diagnostics.
SGI-PV: 907752 SGI-Modid: xfs-linux:xfs-kern:23163a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/quota/xfs_qm.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/fs/xfs/quota/xfs_qm.c b/fs/xfs/quota/xfs_qm.c
index f665ca8f9e96..4badf38df5e9 100644
--- a/fs/xfs/quota/xfs_qm.c
+++ b/fs/xfs/quota/xfs_qm.c
@@ -388,11 +388,8 @@ xfs_qm_mount_quotas(
388 goto write_changes; 388 goto write_changes;
389 } 389 }
390 390
391#if defined(DEBUG) && defined(XFS_LOUD_RECOVERY)
392 cmn_err(CE_NOTE, "Attempting to turn on disk quotas.");
393#endif
394
395 ASSERT(XFS_IS_QUOTA_RUNNING(mp)); 391 ASSERT(XFS_IS_QUOTA_RUNNING(mp));
392
396 /* 393 /*
397 * Allocate the quotainfo structure inside the mount struct, and 394 * Allocate the quotainfo structure inside the mount struct, and
398 * create quotainode(s), and change/rev superblock if necessary. 395 * create quotainode(s), and change/rev superblock if necessary.
@@ -410,19 +407,14 @@ xfs_qm_mount_quotas(
410 */ 407 */
411 if (XFS_QM_NEED_QUOTACHECK(mp) && 408 if (XFS_QM_NEED_QUOTACHECK(mp) &&
412 !(mfsi_flags & XFS_MFSI_NO_QUOTACHECK)) { 409 !(mfsi_flags & XFS_MFSI_NO_QUOTACHECK)) {
413#ifdef DEBUG
414 cmn_err(CE_NOTE, "Doing a quotacheck. Please wait.");
415#endif
416 if ((error = xfs_qm_quotacheck(mp))) { 410 if ((error = xfs_qm_quotacheck(mp))) {
417 /* Quotacheck has failed and quotas have 411 /* Quotacheck has failed and quotas have
418 * been disabled. 412 * been disabled.
419 */ 413 */
420 return XFS_ERROR(error); 414 return XFS_ERROR(error);
421 } 415 }
422#ifdef DEBUG
423 cmn_err(CE_NOTE, "Done quotacheck.");
424#endif
425 } 416 }
417
426 write_changes: 418 write_changes:
427 /* 419 /*
428 * We actually don't have to acquire the SB_LOCK at all. 420 * We actually don't have to acquire the SB_LOCK at all.