ar71xx: fix polarity of GPIO buttons on the WNDR3700 board
[openwrt.git] / target / linux / goldfish / patches-2.6.30 / 0105-block-block_dump-Add-number-of-sectors-to-debug-ou.patch
1 From 4d3a01ba872f67bae704e37bf888c38fa83be759 Mon Sep 17 00:00:00 2001
2 From: San Mehat <san@android.com>
3 Date: Sat, 21 Mar 2009 18:48:05 -0700
4 Subject: [PATCH 105/134] block: block_dump: Add number of sectors to debug output
5
6 Signed-off-by: San Mehat <san@android.com>
7 ---
8 block/blk-core.c | 5 +++--
9 1 files changed, 3 insertions(+), 2 deletions(-)
10
11 --- a/block/blk-core.c
12 +++ b/block/blk-core.c
13 @@ -1558,11 +1558,12 @@ void submit_bio(int rw, struct bio *bio)
14
15 if (unlikely(block_dump)) {
16 char b[BDEVNAME_SIZE];
17 - printk(KERN_DEBUG "%s(%d): %s block %Lu on %s\n",
18 + printk(KERN_DEBUG "%s(%d): %s block %Lu on %s (%u sectors)\n",
19 current->comm, task_pid_nr(current),
20 (rw & WRITE) ? "WRITE" : "READ",
21 (unsigned long long)bio->bi_sector,
22 - bdevname(bio->bi_bdev, b));
23 + bdevname(bio->bi_bdev, b),
24 + count);
25 }
26 }
27
This page took 0.040289 seconds and 5 git commands to generate.