1. 28 7月, 2008 4 次提交
  2. 27 7月, 2008 1 次提交
    • A
      [PATCH] sanitize ->permission() prototype · e6305c43
      Al Viro 提交于
      * kill nameidata * argument; map the 3 bits in ->flags anybody cares
        about to new MAY_... ones and pass with the mask.
      * kill redundant gfs2_iop_permission()
      * sanitize ecryptfs_permission()
      * fix remaining places where ->permission() instances might barf on new
        MAY_... found in mask.
      
      The obvious next target in that direction is permission(9)
      
      folded fix for nfs_permission() breakage from Miklos Szeredi <mszeredi@suse.cz>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      e6305c43
  3. 29 4月, 2008 1 次提交
    • C
      [XFS] remove manual lookup from xfs_rename and simplify locking · cfa853e4
      Christoph Hellwig 提交于
      ->rename already gets the target inode passed if it exits. Pass it down to
      xfs_rename so that we can avoid looking it up again. Also simplify locking
      as the first lock section in xfs_rename can go away now: the isdir is an
      invariant over the lifetime of the inode, and new_parent and the nlink
      check are namespace topology protected by i_mutex in the VFS. The projid
      check needs to move into the second lock section anyway to not be racy.
      
      Also kill the now unused xfs_dir_lookup_int and remove the now-unused
      first_locked argumet to xfs_lock_inodes.
      
      SGI-PV: 976035
      SGI-Modid: xfs-linux-melb:xfs-kern:30903a
      Signed-off-by: NChristoph Hellwig <hch@infradead.org>
      Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
      cfa853e4
  4. 19 4月, 2008 1 次提交
  5. 18 4月, 2008 8 次提交
  6. 07 2月, 2008 8 次提交
  7. 21 12月, 2007 1 次提交
    • C
      [XFS] Fix mknod regression · bad60fdd
      Christoph Hellwig 提交于
      This was broken by my '[XFS] simplify xfs_create/mknod/symlink prototype',
      which assigned the re-shuffled ondisk dev_t back to the rdev variable in
      xfs_vn_mknod. Because of that i_rdev is set to the ondisk dev_t instead of
      the linux dev_t later down the function.
      
      Fortunately the fix for it is trivial: we can just remove the assignment
      because xfs_revalidate_inode has done the proper job before unlocking the
      inode.
      
      SGI-PV: 974873
      SGI-Modid: xfs-linux-melb:xfs-kern:30273a
      Signed-off-by: NChristoph Hellwig <hch@infradead.org>
      Signed-off-by: NDavid Chinner <dgc@sgi.com>
      Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
      bad60fdd
  8. 10 12月, 2007 1 次提交
  9. 17 10月, 2007 2 次提交
  10. 16 10月, 2007 4 次提交
  11. 15 10月, 2007 1 次提交
  12. 13 2月, 2007 1 次提交
  13. 10 2月, 2007 2 次提交
    • E
      [XFS] Remove unused header files for MAC and CAP checking functionality. · 7bc5306d
      Eric Sandeen 提交于
      xfs_mac.h and xfs_cap.h provide definitions and macros that aren't used
      anywhere in XFS at all. They are left-overs from "to be implement at some
      point in the future" functionality that Irix XFS has. If this
      functionality ever goes into Linux, it will be provided at a different
      layer, most likely through the security hooks in the kernel so we will
      never need this functionality in XFS.
      
      Patch provided by Eric Sandeen (sandeen@sandeen.net).
      
      SGI-PV: 960895
      SGI-Modid: xfs-linux-melb:xfs-kern:28036a
      Signed-off-by: NEric Sandeen <sandeen@sandeen.net>
      Signed-off-by: NDavid Chinner <dgc@sgi.com>
      Signed-off-by: NTim Shimmin <tes@sgi.com>
      7bc5306d
    • D
      [XFS] Keep stack usage down for 4k stacks by using noinline. · 7989cb8e
      David Chinner 提交于
      gcc-4.1 and more recent aggressively inline static functions which
      increases XFS stack usage by ~15% in critical paths. Prevent this from
      occurring by adding noinline to the STATIC definition.
      
      Also uninline some functions that are too large to be inlined and were
      causing problems with CONFIG_FORCED_INLINING=y.
      
      Finally, clean up all the different users of inline, __inline and
      __inline__ and put them under one STATIC_INLINE macro. For debug kernels
      the STATIC_INLINE macro uninlines those functions.
      
      SGI-PV: 957159
      SGI-Modid: xfs-linux-melb:xfs-kern:27585a
      Signed-off-by: NDavid Chinner <dgc@sgi.com>
      Signed-off-by: NDavid Chatterton <chatz@sgi.com>
      Signed-off-by: NTim Shimmin <tes@sgi.com>
      7989cb8e
  14. 28 9月, 2006 1 次提交
  15. 27 9月, 2006 1 次提交
  16. 27 6月, 2006 2 次提交
  17. 20 6月, 2006 1 次提交