1. 07 1月, 2014 3 次提交
  2. 04 1月, 2014 3 次提交
  3. 03 1月, 2014 1 次提交
  4. 01 1月, 2014 1 次提交
    • D
      Input: cros_ec_keyb - fix problems with backslash · 64757eba
      Doug Anderson 提交于
      The driver can't deal with two entries its keymap having the same keycode.
      When this happens it will get confused about whether the key is down or up
      and will cause some screwy behavior.
      
      We need to have two entries for KEY_BACKSLASH to handle US and UK
      keyboards. Specifically:
      * On the US keyboard the backslash key (above enter) is r3 c11 and is
        supposed to be reported as BACKSLASH.
      * On the UK keyboard the # key (left of enter) is r4 c10 and is
        supposed to be reported as BACKSLASH.
      * On the UK keyboard the \ key (left of Z) is r2 c7 and is supposed to
        be reported as KEY_102ND.
      
      Note that both keyboards (US and UK) have only one physical backslash
      key so the constraint that each physical key should have its own keycode
      still stands.
      Signed-off-by: NDoug Anderson <dianders@chromium.org>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      64757eba
  5. 28 12月, 2013 2 次提交
  6. 27 12月, 2013 1 次提交
  7. 19 12月, 2013 2 次提交
  8. 16 12月, 2013 5 次提交
  9. 15 12月, 2013 7 次提交
  10. 14 12月, 2013 2 次提交
    • J
      dm array: fix a reference counting bug in shadow_ablock · ed9571f0
      Joe Thornber 提交于
      An old array block could have its reference count decremented below
      zero when it is being replaced in the btree by a new array block.
      
      The fix is to increment the old ablock's reference count just before
      inserting a new ablock into the btree.
      Signed-off-by: NJoe Thornber <ejt@redhat.com>
      Signed-off-by: NMike Snitzer <snitzer@redhat.com>
      Cc: stable@vger.kernel.org # 3.9+
      ed9571f0
    • J
      dm space map: disallow decrementing a reference count below zero · 5b564d80
      Joe Thornber 提交于
      The old behaviour, returning -EINVAL if a ref_count of 0 would be
      decremented, was removed in commit f722063e ("dm space map: optimise
      sm_ll_dec and sm_ll_inc").  To fix this regression we return an error
      code from the mutator function pointer passed to sm_ll_mutate() and have
      dec_ref_count() return -EINVAL if the old ref_count is 0.
      
      Add a DMERR to reflect the potential seriousness of this error.
      
      Also, add missing dm_tm_unlock() to sm_ll_mutate()'s error path.
      
      With this fix the following dmts regression test now passes:
       dmtest run --suite cache -n /metadata_use_kernel/
      
      The next patch fixes the higher-level dm-array code that exposed this
      regression.
      Signed-off-by: NJoe Thornber <ejt@redhat.com>
      Signed-off-by: NMike Snitzer <snitzer@redhat.com>
      Cc: stable@vger.kernel.org # 3.12+
      5b564d80
  11. 13 12月, 2013 13 次提交