1. 12 7月, 2015 1 次提交
  2. 15 5月, 2015 1 次提交
  3. 11 5月, 2015 3 次提交
    • A
      don't pass nameidata to ->follow_link() · 6e77137b
      Al Viro 提交于
      its only use is getting passed to nd_jump_link(), which can obtain
      it from current->nameidata
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      6e77137b
    • A
      new ->follow_link() and ->put_link() calling conventions · 680baacb
      Al Viro 提交于
      a) instead of storing the symlink body (via nd_set_link()) and returning
      an opaque pointer later passed to ->put_link(), ->follow_link() _stores_
      that opaque pointer (into void * passed by address by caller) and returns
      the symlink body.  Returning ERR_PTR() on error, NULL on jump (procfs magic
      symlinks) and pointer to symlink body for normal symlinks.  Stored pointer
      is ignored in all cases except the last one.
      
      Storing NULL for opaque pointer (or not storing it at all) means no call
      of ->put_link().
      
      b) the body used to be passed to ->put_link() implicitly (via nameidata).
      Now only the opaque pointer is.  In the cases when we used the symlink body
      to free stuff, ->follow_link() now should store it as opaque pointer in addition
      to returning it.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      680baacb
    • A
      9p: don't bother with __getname() in ->follow_link() · 90e4fc88
      Al Viro 提交于
      We copy there a kmalloc'ed string and proceed to kfree that string immediately
      after that.  Easier to just feed that string to nd_set_link() and _not_
      kfree it until ->put_link() (which becomes kfree_put_link() in that case).
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      90e4fc88
  4. 16 4月, 2015 1 次提交
  5. 20 11月, 2014 1 次提交
  6. 09 10月, 2014 1 次提交
  7. 05 6月, 2014 1 次提交
  8. 10 1月, 2014 1 次提交
  9. 24 11月, 2013 3 次提交
  10. 25 10月, 2013 1 次提交
  11. 18 9月, 2013 1 次提交
  12. 28 2月, 2013 1 次提交
  13. 26 2月, 2013 3 次提交
  14. 12 2月, 2013 1 次提交
  15. 11 2月, 2013 2 次提交
  16. 14 7月, 2012 7 次提交
  17. 30 5月, 2012 1 次提交
  18. 07 1月, 2012 1 次提交
  19. 06 1月, 2012 1 次提交
    • J
      9p: Reduce object size with CONFIG_NET_9P_DEBUG · 5d385153
      Joe Perches 提交于
      Reduce object size by deduplicating formats.
      
      Use vsprintf extension %pV.
      Rename P9_DPRINTK uses to p9_debug, align arguments.
      Add function for _p9_debug and macro to add __func__.
      Add missing "\n"s to p9_debug uses.
      Remove embedded function names as p9_debug adds it.
      Remove P9_EPRINTK macro and convert use to pr_<level>.
      Add and use pr_fmt and pr_<level>.
      
      $ size fs/9p/built-in.o*
         text	   data	    bss	    dec	    hex	filename
        62133	    984	  16000	  79117	  1350d	fs/9p/built-in.o.new
        67342	    984	  16928	  85254	  14d06	fs/9p/built-in.o.old
      $ size net/9p/built-in.o*
         text	   data	    bss	    dec	    hex	filename
        88792	   4148	  22024	 114964	  1c114	net/9p/built-in.o.new
        94072	   4148	  23232	 121452	  1da6c	net/9p/built-in.o.old
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
      5d385153
  20. 04 1月, 2012 4 次提交
  21. 02 11月, 2011 1 次提交
  22. 06 9月, 2011 3 次提交