OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f73100
)
firewire: fw-sbp2: reduce log noise
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Thu, 28 Feb 2008 19:53:45 +0000
(20:53 +0100)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Fri, 18 Apr 2008 15:55:32 +0000
(17:55 +0200)
The block/unblock logic is now sufficiently tested.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-sbp2.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/fw-sbp2.c
b/drivers/firewire/fw-sbp2.c
index
71146ba
..
6255187
100644
(file)
--- a/
drivers/firewire/fw-sbp2.c
+++ b/
drivers/firewire/fw-sbp2.c
@@
-693,10
+693,8
@@
static void sbp2_conditionally_block(struct sbp2_logical_unit *lu)
if (!tgt->dont_block && !lu->blocked &&
lu->generation != card->generation) {
lu->blocked = true;
- if (++tgt->blocked == 1)
{
+ if (++tgt->blocked == 1)
scsi_block_requests(shost);
- fw_notify("blocked %s\n", lu->tgt->bus_id);
- }
}
spin_unlock_irqrestore(&card->lock, flags);
}
@@
-723,10
+721,8
@@
static void sbp2_conditionally_unblock(struct sbp2_logical_unit *lu)
}
spin_unlock_irqrestore(&card->lock, flags);
- if (unblock)
{
+ if (unblock)
scsi_unblock_requests(shost);
- fw_notify("unblocked %s\n", lu->tgt->bus_id);
- }
}
/*