1. 01 8月, 2016 1 次提交
  2. 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
  3. 13 5月, 2016 1 次提交
  4. 11 4月, 2016 1 次提交
  5. 30 3月, 2016 1 次提交
  6. 09 12月, 2015 1 次提交
    • A
      don't put symlink bodies in pagecache into highmem · 21fc61c7
      Al Viro 提交于
      kmap() in page_follow_link_light() needed to go - allowing to hold
      an arbitrary number of kmaps for long is a great way to deadlocking
      the system.
      
      new helper (inode_nohighmem(inode)) needs to be used for pagecache
      symlinks inodes; done for all in-tree cases.  page_follow_link_light()
      instrumented to yell about anything missed.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      21fc61c7
  7. 10 11月, 2015 1 次提交
  8. 24 7月, 2015 1 次提交
  9. 16 7月, 2015 1 次提交
    • D
      jfs: clean up jfs_rename and fix out of order unlock · 26456955
      Dave Kleikamp 提交于
      The end of jfs_rename(), which is also used by the error paths,
      included a call to IWRITE_UNLOCK(new_ip) after labels out1, out2
      and out3. If we come in through these labels, IWRITE_LOCK() has not
      been called yet.
      
      In moving that call to the correct spot, I also moved some
      exceptional truncate code earlier as well, since the early error
      paths don't need to deal with it, and I renamed out4: to out_tx: so
      a future patch by Jan Kara doesn't need to deal with renumbering or
      confusing out-of-order labels.
      Signed-off-by: NDave Kleikamp <dave.kleikamp@oracle.com>
      26456955
  10. 11 5月, 2015 1 次提交
  11. 16 4月, 2015 1 次提交
  12. 20 11月, 2014 1 次提交
  13. 26 1月, 2014 1 次提交
  14. 29 6月, 2013 2 次提交
  15. 06 6月, 2013 1 次提交
    • J
      jfs: Update jfs_error · eb8630d7
      Joe Perches 提交于
      Use a more current logging style.
      
      Add __printf format and argument verification.
      
      Remove embedded function names from formats.
      Add %pf, __builtin_return_address(0) to jfs_error.
      Add newlines to formats for kernel style consistency.
      (One format already had an erroneous newline)
      Coalesce formats and align arguments.
      
      Object size reduced ~1KiB.
      
      $ size fs/jfs/built-in.o*
         text	   data	    bss	    dec	    hex	filename
       201891	  35488	  63936	 301315	  49903	fs/jfs/built-in.o.new
       202821	  35488	  64192	 302501	  49da5	fs/jfs/built-in.o.old
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDave Kleikamp <dave.kleikamp@oracle.com>
      eb8630d7
  16. 23 7月, 2012 1 次提交
  17. 14 7月, 2012 3 次提交
  18. 21 3月, 2012 1 次提交
  19. 04 1月, 2012 3 次提交
  20. 02 11月, 2011 2 次提交
  21. 26 7月, 2011 2 次提交
  22. 21 7月, 2011 1 次提交
  23. 20 7月, 2011 3 次提交
  24. 28 5月, 2011 1 次提交
  25. 26 5月, 2011 2 次提交
  26. 15 3月, 2011 1 次提交
  27. 10 3月, 2011 1 次提交
  28. 02 2月, 2011 1 次提交
    • E
      fs/vfs/security: pass last path component to LSM on inode creation · 2a7dba39
      Eric Paris 提交于
      SELinux would like to implement a new labeling behavior of newly created
      inodes.  We currently label new inodes based on the parent and the creating
      process.  This new behavior would also take into account the name of the
      new object when deciding the new label.  This is not the (supposed) full path,
      just the last component of the path.
      
      This is very useful because creating /etc/shadow is different than creating
      /etc/passwd but the kernel hooks are unable to differentiate these
      operations.  We currently require that userspace realize it is doing some
      difficult operation like that and than userspace jumps through SELinux hoops
      to get things set up correctly.  This patch does not implement new
      behavior, that is obviously contained in a seperate SELinux patch, but it
      does pass the needed name down to the correct LSM hook.  If no such name
      exists it is fine to pass NULL.
      Signed-off-by: NEric Paris <eparis@redhat.com>
      2a7dba39
  29. 13 1月, 2011 1 次提交
  30. 07 1月, 2011 1 次提交