diff options
Diffstat (limited to 'fs/xfs/quota/xfs_qm.c')
-rw-r--r-- | fs/xfs/quota/xfs_qm.c | 12 |
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. |