Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98890
b: refs/heads/master
c: 04c0635
h: refs/heads/master
v: v3
  • Loading branch information
Wim Colgate authored and Jens Axboe committed Jul 3, 2008
1 parent 40c3d80 commit 6a5e68c
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: 440a01a7f46742400c74d9d346118523e81d188b
refs/heads/master: 04c0635058256e2f4618139c237e56b5a4bdbb8f
2 changes: 1 addition & 1 deletion trunk/drivers/block/xen-blkfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ static int blkif_release(struct inode *inode, struct file *filep)
struct xenbus_device *dev = info->xbdev;
enum xenbus_state state = xenbus_read_driver_state(dev->otherend);

if (state == XenbusStateClosing)
if (state == XenbusStateClosing && info->is_ready)
blkfront_closing(dev);
}
return 0;
Expand Down

0 comments on commit 6a5e68c

Please sign in to comment.