diff for duplicates of <49E42620.4050701@cn.fujitsu.com> diff --git a/a/1.txt b/N1/1.txt index a586b01..50961a1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -10,7 +10,7 @@ partition. Note some actions are per device, thus we don't filter 0-sector events. The original patch and discussion can be found here: - http://marc.info/?l=linux-btrace&m\x122949374214540&w=2 + http://marc.info/?l=linux-btrace&m=122949374214540&w=2 Signed-off-by: Shawn Du <duyuyang@gmail.com> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> @@ -76,7 +76,7 @@ index 2b98195..e932654 100644 +++ b/kernel/trace/blktrace.c @@ -147,7 +147,7 @@ static int act_log_check(struct blk_trace *bt, u32 what, sector_t sector, { - if (((bt->act_mask << BLK_TC_SHIFT) & what) = 0) + if (((bt->act_mask << BLK_TC_SHIFT) & what) == 0) return 1; - if (sector < bt->start_lba || sector > bt->end_lba) + if (sector && (sector < bt->start_lba || sector > bt->end_lba)) diff --git a/a/content_digest b/N1/content_digest index bcd4696..9423cd7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Li Zefan <lizf@cn.fujitsu.com>\0" "Subject\0PATCH 1/3] blktrace: support per-partition tracing\0" - "Date\0Tue, 14 Apr 2009 05:58:56 +0000\0" + "Date\0Tue, 14 Apr 2009 13:58:56 +0800\0" "To\0Ingo Molnar <mingo@elte.hu>" " Jens Axboe <jens.axboe@oracle.com>\0" "Cc\0Arnaldo Carvalho de Melo <acme@redhat.com>" @@ -22,7 +22,7 @@ "Note some actions are per device, thus we don't filter 0-sector events.\n" "\n" "The original patch and discussion can be found here:\n" - "\thttp://marc.info/?l=linux-btrace&m\0222949374214540&w=2\n" + "\thttp://marc.info/?l=linux-btrace&m=122949374214540&w=2\n" "\n" "Signed-off-by: Shawn Du <duyuyang@gmail.com>\n" "Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>\n" @@ -88,7 +88,7 @@ "+++ b/kernel/trace/blktrace.c\n" "@@ -147,7 +147,7 @@ static int act_log_check(struct blk_trace *bt, u32 what, sector_t sector,\n" " {\n" - " \tif (((bt->act_mask << BLK_TC_SHIFT) & what) = 0)\n" + " \tif (((bt->act_mask << BLK_TC_SHIFT) & what) == 0)\n" " \t\treturn 1;\n" "-\tif (sector < bt->start_lba || sector > bt->end_lba)\n" "+\tif (sector && (sector < bt->start_lba || sector > bt->end_lba))\n" @@ -173,4 +173,4 @@ "-- \n" 1.5.4.rc3 -2fa09a455177e4528e7ca7a773295f1fa9db500ec7d401f13266e5200d66624d +fe36fddc67234c624547e1faff06efb9e429830d692a51f230fb1a1bf0358490
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.