blktrace: add back conversion
authorEdward Shishkin <edward@redhat.com>
Tue, 15 Dec 2009 17:47:59 +0000 (18:47 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 20 Apr 2010 07:51:52 +0000 (09:51 +0200)
commite41bf0ffcf5a2ec016493c25737896a03bfbafba
tree3880ed73fde4709612eb032f2de2d04a8744017f
parentbc14c53fb79ecf2dedf52c55d8601ea4af500ce8
blktrace: add back conversion

Fixup for bz 502889.

Problem:
when executing with /dev/cciss/foo (long path names)
btreplay complains (No such file or directory).

Bug:
Missed back conversion of erscores to slashes.

Solution:
Convert underscores to slashes to restore device
names that have larger paths.

Signed-off-by: Edward Shishkin <edward@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
btreplay/btreplay.c