Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 795
b: refs/heads/master
c: 7da21a0
h: refs/heads/master
i:
  793: 5fb1f93
  791: 03436a2
v: v3
  • Loading branch information
Jens Axboe authored and Linus Torvalds committed May 1, 2005
1 parent b06edf3 commit 246f4ed
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: 76530da1a9e8ce05963b1f49a098eddc6ec6c534
refs/heads/master: 7da21a02b3587157bd43910ea6d4c76661228ebb
2 changes: 1 addition & 1 deletion trunk/drivers/cdrom/cdrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ static int cdrom_mrw_exit(struct cdrom_device_info *cdi)
ret = cdrom_mrw_bgformat_susp(cdi, 0);
}

if (!ret)
if (!ret && cdi->media_written)
ret = cdrom_flush_cache(cdi);

return ret;
Expand Down

0 comments on commit 246f4ed

Please sign in to comment.