1. 25 2月, 2017 1 次提交
  2. 20 2月, 2017 8 次提交
  3. 19 1月, 2017 1 次提交
    • J
      ceph: fix endianness bug in frag_tree_split_cmp · fe2ed425
      Jeff Layton 提交于
      sparse says:
      
          fs/ceph/inode.c:308:36: warning: incorrect type in argument 1 (different base types)
          fs/ceph/inode.c:308:36:    expected unsigned int [unsigned] [usertype] a
          fs/ceph/inode.c:308:36:    got restricted __le32 [usertype] frag
          fs/ceph/inode.c:308:46: warning: incorrect type in argument 2 (different base types)
          fs/ceph/inode.c:308:46:    expected unsigned int [unsigned] [usertype] b
          fs/ceph/inode.c:308:46:    got restricted __le32 [usertype] frag
      
      We need to convert these values to host-endian before calling the
      comparator.
      
      Fixes: a407846e ("ceph: don't assume frag tree splits in mds reply are sorted")
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Reviewed-by: NSage Weil <sage@redhat.com>
      Signed-off-by: NIlya Dryomov <idryomov@gmail.com>
      fe2ed425
  4. 09 12月, 2016 1 次提交
  5. 29 10月, 2016 2 次提交
  6. 18 10月, 2016 1 次提交
  7. 08 10月, 2016 1 次提交
  8. 28 9月, 2016 1 次提交
  9. 22 9月, 2016 2 次提交
  10. 28 7月, 2016 7 次提交
  11. 11 6月, 2016 1 次提交
    • L
      vfs: make the string hashes salt the hash · 8387ff25
      Linus Torvalds 提交于
      We always mixed in the parent pointer into the dentry name hash, but we
      did it late at lookup time.  It turns out that we can simplify that
      lookup-time action by salting the hash with the parent pointer early
      instead of late.
      
      A few other users of our string hashes also wanted to mix in their own
      pointers into the hash, and those are updated to use the same mechanism.
      
      Hash users that don't have any particular initial salt can just use the
      NULL pointer as a no-salt.
      
      Cc: Vegard Nossum <vegard.nossum@oracle.com>
      Cc: George Spelvin <linux@sciencehorizons.net>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8387ff25
  12. 26 5月, 2016 12 次提交
  13. 24 4月, 2016 2 次提交