1. 28 1月, 2017 1 次提交
  2. 20 1月, 2017 1 次提交
  3. 12 1月, 2017 1 次提交
  4. 11 1月, 2017 5 次提交
  5. 26 12月, 2016 1 次提交
    • T
      ktime: Cleanup ktime_set() usage · 8b0e1953
      Thomas Gleixner 提交于
      ktime_set(S,N) was required for the timespec storage type and is still
      useful for situations where a Seconds and Nanoseconds part of a time value
      needs to be converted. For anything where the Seconds argument is 0, this
      is pointless and can be replaced with a simple assignment.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Peter Zijlstra <peterz@infradead.org>
      8b0e1953
  6. 25 12月, 2016 1 次提交
  7. 13 12月, 2016 1 次提交
  8. 09 12月, 2016 2 次提交
  9. 08 12月, 2016 1 次提交
  10. 04 12月, 2016 1 次提交
    • J
      nbd: fix 64-bit division · e88f72cb
      Jens Axboe 提交于
      We have this:
      
      ERROR: "__aeabi_ldivmod" [drivers/block/nbd.ko] undefined!
      ERROR: "__divdi3" [drivers/block/nbd.ko] undefined!
      nbd.c:(.text+0x247c72): undefined reference to `__divdi3'
      
      due to a recent commit, that did 64-bit division. Use the proper
      divider function so that 32-bit compiles don't break.
      
      Fixes: ef77b515 ("nbd: use loff_t for blocksize and nbd_set_size args")
      Signed-off-by: NJens Axboe <axboe@fb.com>
      e88f72cb
  11. 03 12月, 2016 1 次提交
  12. 02 12月, 2016 1 次提交
  13. 01 12月, 2016 2 次提交
  14. 23 11月, 2016 2 次提交
  15. 22 11月, 2016 4 次提交
  16. 18 11月, 2016 2 次提交
  17. 16 11月, 2016 1 次提交
  18. 15 11月, 2016 1 次提交
  19. 12 11月, 2016 2 次提交
  20. 10 11月, 2016 3 次提交
  21. 09 11月, 2016 1 次提交
  22. 08 11月, 2016 2 次提交
  23. 07 11月, 2016 3 次提交
    • C
      pktcdvd: don't scribble over the bvec array · feebd568
      Christoph Hellwig 提交于
      Hi Peter, hi Jens,
      
      I've been looking over the multi page bio vec work again recently, and
      one of the stumbling blocks is raw biovec access in the pktcdvd.
      
      The first issue is that it directly sets up the page and offset pointers
      in the biovec just before calling bio_add_page.  As bio_add_page already
      does the setup it's trivial to just switch it to stack variables for the
      arguments.
      
      The second issue is the copy code in pkt_make_local_copy, which
      effectively is an opencoded version of bio_copy_data except that it
      skips pages that already are the same in the ѕource and destination.
      But we look at the only calleer we just set up the bio using bio_add_page
      to point exactly to the page array that pkt_make_local_copy compares,
      so the pages will always be the same and we can just remove this function.
      
      Note that all this is done based on code inspection, I don't have any
      packet writing hardware myself.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJens Axboe <axboe@fb.com>
      feebd568
    • J
      xen: make use of xenbus_read_unsigned() in xen-blkfront · f27dc1ac
      Juergen Gross 提交于
      Use xenbus_read_unsigned() instead of xenbus_scanf() when possible.
      This requires to change the type of some reads from int to unsigned,
      but these cases have been wrong before: negative values are not allowed
      for the modified cases.
      
      Cc: konrad.wilk@oracle.com
      Cc: roger.pau@citrix.com
      Signed-off-by: NJuergen Gross <jgross@suse.com>
      Acked-by: NDavid Vrabel <david.vrabel@citrix.com>
      f27dc1ac
    • J
      xen: make use of xenbus_read_unsigned() in xen-blkback · 8235777b
      Juergen Gross 提交于
      Use xenbus_read_unsigned() instead of xenbus_scanf() when possible.
      This requires to change the type of one read from int to unsigned,
      but this case has been wrong before: negative values are not allowed
      for the modified case.
      
      Cc: konrad.wilk@oracle.com
      Cc: roger.pau@citrix.com
      Signed-off-by: NJuergen Gross <jgross@suse.com>
      Acked-by: NDavid Vrabel <david.vrabel@citrix.com>
      8235777b