1. 07 2月, 2008 1 次提交
    • C
      [XFS] Kill off xfs_statvfs. · 4ca488eb
      Christoph Hellwig 提交于
      We were already filling the Linux struct statfs anyway, and doing this
      trivial task directly in xfs_fs_statfs makes the code quite a bit cleaner.
      While I was at it I also moved copying attributes that don't change over
      the lifetime of the filesystem outside the superblock lock.
      
      xfs_fs_fill_super used to get the magic number and blocksize through
      xfs_statvfs, but assigning them directly is a lot cleaner and will save
      some stack space during mount.
      
      SGI-PV: 971186
      SGI-Modid: xfs-linux-melb:xfs-kern:29802a
      Signed-off-by: NChristoph Hellwig <hch@infradead.org>
      Signed-off-by: NTim Shimmin <tes@sgi.com>
      4ca488eb
  2. 19 10月, 2007 1 次提交
    • C
      [XFS] cleanup fid types mess · c6143911
      Christoph Hellwig 提交于
      Currently XFs has three different fid types: struct fid, struct xfs_fid
      and struct xfs_fid2 with hte latter two beeing identicaly and the first
      one beeing the same size but an unstructured array with the same size.
      
      This patch consolidates all this to alway uuse struct xfs_fid.
      
      This patch is required for an upcoming patch series from me that revamps
      the nfs exporting code and introduces a Linux-wide struct fid.
      
      SGI-PV: 970336
      SGI-Modid: xfs-linux-melb:xfs-kern:29651a
      Signed-off-by: NChristoph Hellwig <hch@infradead.org>
      Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
      Signed-off-by: NTim Shimmin <tes@sgi.com>
      c6143911
  3. 16 10月, 2007 2 次提交