diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2007-10-12 11:13:08 +1000 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-02-07 18:13:05 +1100 |
commit | d4f3cc016fd6b392d483adc586b6dfaabad081af (patch) | |
tree | 6ccd74879d21159fb23f94c893142697eacac803 /fs/xfs/support | |
parent | 91906a882a4c9541317bc4f4c7fa5d8b784ba198 (diff) | |
download | linux-d4f3cc016fd6b392d483adc586b6dfaabad081af.tar.gz linux-d4f3cc016fd6b392d483adc586b6dfaabad081af.tar.bz2 linux-d4f3cc016fd6b392d483adc586b6dfaabad081af.zip |
[XFS] lose xfs_hex_dump in favor of print_hex_dump
No need for xfs to have its own hex dumping routine now that the kernel
has one.
SGI-PV: 971186
SGI-Modid: xfs-linux-melb:xfs-kern:29847a
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/support')
-rw-r--r-- | fs/xfs/support/debug.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/xfs/support/debug.c b/fs/xfs/support/debug.c index fa4fb1820e75..c27abef7b84f 100644 --- a/fs/xfs/support/debug.c +++ b/fs/xfs/support/debug.c @@ -80,3 +80,9 @@ assfail(char *expr, char *file, int line) printk("Assertion failed: %s, file: %s, line: %d\n", expr, file, line); BUG(); } + +void +xfs_hex_dump(void *p, int length) +{ + print_hex_dump(KERN_ALERT, "", DUMP_PREFIX_OFFSET, 16, 1, p, length, 1); +} |