Revert "block: block_dump: Add number of sectors to debug output"

This reverts commit c6bebce007.
This commit is contained in:
黄涛
2011-07-30 22:45:24 +08:00
parent 1ac066b8ce
commit 09f4e9be0b

View File

@@ -1569,12 +1569,11 @@ void submit_bio(int rw, struct bio *bio)
if (unlikely(block_dump)) {
char b[BDEVNAME_SIZE];
printk(KERN_DEBUG "%s(%d): %s block %Lu on %s (%u sectors)\n",
printk(KERN_DEBUG "%s(%d): %s block %Lu on %s\n",
current->comm, task_pid_nr(current),
(rw & WRITE) ? "WRITE" : "READ",
(unsigned long long)bio->bi_sector,
bdevname(bio->bi_bdev, b),
count);
bdevname(bio->bi_bdev, b));
}
}