aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/quota
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-04-20 03:02:50 -0400
committerAlex Elder <aelder@sgi.com>2010-05-19 10:58:15 -0400
commit1414a6046ab402ac21545522270c32c576327eb9 (patch)
tree2e1364e818bef8a05cb442503e4224b7c7a9d6a4 /fs/xfs/quota
parent8112e9dc6d1494078122146647981bc02a452d6a (diff)
xfs: remove dead XFS_LOUD_RECOVERY code
This can't be enabled through the build system and has been dead for ages. Note that the CRC patches add back log checksumming, but the code is quite different from the version removed here anyway. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/quota')
-rw-r--r--fs/xfs/quota/xfs_qm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/xfs/quota/xfs_qm.c b/fs/xfs/quota/xfs_qm.c
index b5145201d85d..38e764146644 100644
--- a/fs/xfs/quota/xfs_qm.c
+++ b/fs/xfs/quota/xfs_qm.c
@@ -1331,9 +1331,6 @@ xfs_qm_qino_alloc(
1331 */ 1331 */
1332 spin_lock(&mp->m_sb_lock); 1332 spin_lock(&mp->m_sb_lock);
1333 if (flags & XFS_QMOPT_SBVERSION) { 1333 if (flags & XFS_QMOPT_SBVERSION) {
1334#if defined(DEBUG) && defined(XFS_LOUD_RECOVERY)
1335 unsigned oldv = mp->m_sb.sb_versionnum;
1336#endif
1337 ASSERT(!xfs_sb_version_hasquota(&mp->m_sb)); 1334 ASSERT(!xfs_sb_version_hasquota(&mp->m_sb));
1338 ASSERT((sbfields & (XFS_SB_VERSIONNUM | XFS_SB_UQUOTINO | 1335 ASSERT((sbfields & (XFS_SB_VERSIONNUM | XFS_SB_UQUOTINO |
1339 XFS_SB_GQUOTINO | XFS_SB_QFLAGS)) == 1336 XFS_SB_GQUOTINO | XFS_SB_QFLAGS)) ==
@@ -1346,11 +1343,6 @@ xfs_qm_qino_alloc(
1346 1343
1347 /* qflags will get updated _after_ quotacheck */ 1344 /* qflags will get updated _after_ quotacheck */
1348 mp->m_sb.sb_qflags = 0; 1345 mp->m_sb.sb_qflags = 0;
1349#if defined(DEBUG) && defined(XFS_LOUD_RECOVERY)
1350 cmn_err(CE_NOTE,
1351 "Old superblock version %x, converting to %x.",
1352 oldv, mp->m_sb.sb_versionnum);
1353#endif
1354 } 1346 }
1355 if (flags & XFS_QMOPT_UQUOTA) 1347 if (flags & XFS_QMOPT_UQUOTA)
1356 mp->m_sb.sb_uquotino = (*ip)->i_ino; 1348 mp->m_sb.sb_uquotino = (*ip)->i_ino;