diff --git a/[refs] b/[refs] index 0509ef4d120e..fce5555f576c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 95f8fac8dc6139fedfb87746e0c8fda9b803cb46 +refs/heads/master: b64b6bf4fd8b678a9f8477c11773c38a0a246a6d diff --git a/trunk/drivers/md/dm-io.c b/trunk/drivers/md/dm-io.c index 36e2b5e46a6b..e73aabd61cd7 100644 --- a/trunk/drivers/md/dm-io.c +++ b/trunk/drivers/md/dm-io.c @@ -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;