Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24ee0e49 authored by Lachlan McIlroy's avatar Lachlan McIlroy
Browse files

[XFS] Make xfs_btree_check_ptr() debug-only code.



SGI-PV: 985583

SGI-Modid: xfs-linux-melb:xfs-kern:32224a

Signed-off-by: default avatarLachlan McIlroy <lachlan@sgi.com>
Signed-off-by: default avatarChristoph Hellwig <hch@infradead.org>
parent d1de8021
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -160,6 +160,7 @@ xfs_btree_check_lptr(
	return 0;
}

#ifdef DEBUG
/*
 * Check that (short) pointer is ok.
 */
@@ -197,6 +198,7 @@ xfs_btree_check_ptr(
				be32_to_cpu((&ptr->s)[index]), level);
	}
}
#endif

/*
 * Delete the btree cursor.