1. 30 Aug, 2003 1 commit
    • Patrick Mochel's avatar
      [swsusp] Use BIO interface when reading from swap. · 774bc11f
      Patrick Mochel authored
      - bios are the preferred method for doing this type of stuff in 2.6. The 
        __bread() uses bio's in the end anyway. 
      
      - bios make it really easy to implement write functionality, so we are able
        to reset the swap signature immediately after checking it during resume.
        So, if something happens while resuming, we will still have valid swap to 
        use. 
      
      - Thanks to Jens for some help in getting it working several months ago.
      774bc11f
  2. 29 Aug, 2003 1 commit
    • Patrick Mochel's avatar
      [swsusp] Minor cleanups in read_suspend_image() · 7431d7eb
      Patrick Mochel authored
      - Make resume_bdev global to file, so we don't have to pass it around (we 
        always use the same one, so it shouldn't make a difference).
      
      - Allocate cur in read_suspend_image(), since it's the only function that
        uses it. 
      
      - Check all errors and make sure we free cur if any happen.
      
      - Make sure to return errors from the functions called, not our own. 
      
      - Free the pagedir if we hit an error after we allocate it. 
      7431d7eb
  3. 27 Aug, 2003 2 commits
  4. 26 Aug, 2003 1 commit
  5. 25 Aug, 2003 4 commits
  6. 22 Aug, 2003 2 commits
  7. 24 Aug, 2003 2 commits
  8. 23 Aug, 2003 5 commits
  9. 22 Aug, 2003 18 commits
  10. 21 Aug, 2003 4 commits