1. 13 Jul, 2015 2 commits
    • Al Viro's avatar
      get rid of magic in proc_namespace.c · ba25d8cb
      Al Viro authored
      
      don't rely on proc_mounts->m being the first field; container_of()
      is there for purpose.  No need to bother with ->private, while
      we are at it - the same container_of will do nicely.
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      (cherry picked from commit 6ce6e24e72233073c8ead9419fc5040d44803dae)
      ba25d8cb
    • Andi Kleen's avatar
      brlocks/lglocks: API cleanups · f875ea3d
      Andi Kleen authored
      
      lglocks and brlocks are currently generated with some complicated macros
      in lglock.h.  But there's no reason to not just use common utility
      functions and put all the data into a common data structure.
      
      In preparation, this patch changes the API to look more like normal
      function calls with pointers, not magic macros.
      
      The patch is rather large because I move over all users in one go to keep
      it bisectable.  This impacts the VFS somewhat in terms of lines changed.
      But no actual behaviour change.
      
      [akpm@linux-foundation.org: checkpatch fixes]
      Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      
      (cherry picked from commit 962830df366b66e71849040770ae6ba55a8b4aec)
      f875ea3d
  2. 07 Jan, 2012 4 commits
  3. 04 Jan, 2012 1 commit