1. 02 5月, 2006 1 次提交
    • J
      [PATCH] splice: fix bugs in pipe_to_file() · 0568b409
      Jens Axboe 提交于
      Found by Oleg Nesterov <oleg@tv-sign.ru>, fixed by me.
      
      - Only allow full pages to go to the page cache.
      - Check page != buf->page instead of using PIPE_BUF_FLAG_STOLEN.
      - Remember to clear 'stolen' if add_to_page_cache() fails.
      
      And as a cleanup on that:
      
      - Make the bottom fall-through logic a little less convoluted. Also make
        the steal path hold an extra reference to the page, so we don't have
        to differentiate between stolen and non-stolen at the end.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      0568b409
  2. 30 4月, 2006 1 次提交
  3. 27 4月, 2006 2 次提交
  4. 26 4月, 2006 4 次提交
  5. 20 4月, 2006 1 次提交
  6. 19 4月, 2006 5 次提交
  7. 11 4月, 2006 8 次提交
  8. 10 4月, 2006 8 次提交
  9. 03 4月, 2006 8 次提交
  10. 31 3月, 2006 2 次提交