Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140153
b: refs/heads/master
c: b64b6bf
h: refs/heads/master
i:
  140151: 5548fac
v: v3
  • Loading branch information
Mikulas Patocka authored and Alasdair G Kergon committed Apr 2, 2009
1 parent 98ef6ba commit f925178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 95f8fac8dc6139fedfb87746e0c8fda9b803cb46
refs/heads/master: b64b6bf4fd8b678a9f8477c11773c38a0a246a6d
5 changes: 1 addition & 4 deletions trunk/drivers/md/dm-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,16 +370,13 @@ static int sync_io(struct dm_io_client *client, unsigned int num_regions,
while (1) {
set_current_state(TASK_UNINTERRUPTIBLE);

if (!atomic_read(&io.count) || signal_pending(current))
if (!atomic_read(&io.count))
break;

io_schedule();
}
set_current_state(TASK_RUNNING);

if (atomic_read(&io.count))
return -EINTR;

if (error_bits)
*error_bits = io.error_bits;

Expand Down

0 comments on commit f925178

Please sign in to comment.