Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319479
b: refs/heads/master
c: 6004970
h: refs/heads/master
i:
  319477: b1d4e96
  319475: 4a0978a
  319471: c13555c
v: v3
  • Loading branch information
Joe Thornber authored and Alasdair G Kergon committed Jul 27, 2012
1 parent 9f8724e commit 22ab821
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 905386f82d08f66726912f303f3e6605248c60a3
refs/heads/master: 600497013687516153cb82637acfe56f7eb9308a
2 changes: 1 addition & 1 deletion trunk/drivers/md/dm-thin.c
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ static void process_shared_bio(struct thin_c *tc, struct bio *bio,
if (bio_detain(pool->prison, &key, bio, &cell))
return;

if (bio_data_dir(bio) == WRITE)
if (bio_data_dir(bio) == WRITE && bio->bi_size)
break_sharing(tc, bio, block, &key, lookup_result, cell);
else {
struct dm_thin_endio_hook *h = dm_get_mapinfo(bio)->ptr;
Expand Down

0 comments on commit 22ab821

Please sign in to comment.