1. 20 7月, 2010 1 次提交
  2. 09 7月, 2010 1 次提交
  3. 07 7月, 2010 11 次提交
  4. 05 6月, 2010 1 次提交
    • A
      fix the deadlock in qib_fs · 971b2e8a
      Al Viro 提交于
      get_sb_single() calls fill_super with superblock locked; calling
      deactivate_super() will deadlock immedately.  Moreover, if fill_super
      callback returns an error, get_sb_single() will release the reference
      to superblock itself just fine.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      971b2e8a
  5. 28 5月, 2010 2 次提交
  6. 27 5月, 2010 2 次提交
  7. 26 5月, 2010 2 次提交
  8. 25 5月, 2010 13 次提交
  9. 24 5月, 2010 2 次提交
  10. 22 5月, 2010 2 次提交
    • G
      of: Remove duplicate fields from of_platform_driver · 4018294b
      Grant Likely 提交于
      .name, .match_table and .owner are duplicated in both of_platform_driver
      and device_driver.  This patch is a removes the extra copies from struct
      of_platform_driver and converts all users to the device_driver members.
      
      This patch is a pretty mechanical change.  The usage model doesn't change
      and if any drivers have been missed, or if anything has been fixed up
      incorrectly, then it will fail with a compile time error, and the fixup
      will be trivial.  This patch looks big and scary because it touches so
      many files, but it should be pretty safe.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NSean MacLennan <smaclennan@pikatech.com>
      4018294b
    • R
      IB/core: Allow device-specific per-port sysfs files · 9a6edb60
      Ralph Campbell 提交于
      Add a new parameter to ib_register_device() so that low-level device
      drivers can pass in a pointer to a callback function that will be
      called for each port that is registered in sysfs.  This allows
      low-level device drivers to create files in
      
          /sys/class/infiniband/<hca>/ports/<N>/
      
      without having to poke through the internals of the RDMA sysfs handling.
      
      There is no need for an unregister function since the kobject
      reference will go to zero when ib_unregister_device() is called.
      Signed-off-by: NRalph Campbell <ralph.campbell@qlogic.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      9a6edb60
  11. 19 5月, 2010 1 次提交
  12. 06 5月, 2010 1 次提交
  13. 29 4月, 2010 1 次提交
    • R
      RDMA/cxgb3: Shrink .text with compile-time init of handlers arrays · 617c9a7e
      Roland Dreier 提交于
      Using compile-time designated initializers for the handler arrays
      instead of open-coding the initialization in iwch_cm_init() is (IMHO)
      cleaner, and leads to substantially smaller code: on my x86-64 build,
      bloat-o-meter shows:
      
      add/remove: 0/1 grow/shrink: 4/3 up/down: 4/-1682 (-1678)
      function                                     old     new   delta
      tx_ack                                       167     168      +1
      state_set                                     55      56      +1
      start_ep_timer                                99     100      +1
      pass_establish                               177     178      +1
      act_open_req_arp_failure                      39      38      -1
      sched                                         84      82      -2
      iwch_cm_init                                 442      91    -351
      work_handlers                               1328       -   -1328
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      617c9a7e