aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/gfs2/glock.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 7988715b7a07..1815429a2978 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -1763,22 +1763,10 @@ void gfs2_gl_hash_clear(struct gfs2_sbd *sdp, int wait)
1763static void gfs2_print_symbol(struct glock_iter *gi, const char *fmt, 1763static void gfs2_print_symbol(struct glock_iter *gi, const char *fmt,
1764 unsigned long address) 1764 unsigned long address)
1765{ 1765{
1766/* when sprint_symbol becomes available in the new kernel, replace this */
1767/* function with:
1768 char buffer[KSYM_SYMBOL_LEN]; 1766 char buffer[KSYM_SYMBOL_LEN];
1769 1767
1770 sprint_symbol(buffer, address); 1768 sprint_symbol(buffer, address);
1771 print_dbg(gi, fmt, buffer); 1769 print_dbg(gi, fmt, buffer);
1772*/
1773 char buffer[256];
1774
1775 if (gi) {
1776 memset(buffer, 0, sizeof(buffer));
1777 sprintf(buffer, "0x%08lx", address);
1778 print_dbg(gi, fmt, buffer);
1779 }
1780 else
1781 print_symbol(fmt, address);
1782} 1770}
1783 1771
1784/** 1772/**