瀏覽代碼

[XFS] Show buffer address with debug hexdump on corruption

SGI-PV: 987246

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

Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Barry Naujok 16 年之前
父節點
當前提交
34519daae6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/xfs/support/debug.c

+ 1 - 1
fs/xfs/support/debug.c

@@ -84,5 +84,5 @@ assfail(char *expr, char *file, int line)
 void
 void
 xfs_hex_dump(void *p, int length)
 xfs_hex_dump(void *p, int length)
 {
 {
-	print_hex_dump(KERN_ALERT, "", DUMP_PREFIX_OFFSET, 16, 1, p, length, 1);
+	print_hex_dump(KERN_ALERT, "", DUMP_PREFIX_ADDRESS, 16, 1, p, length, 1);
 }
 }