]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[XFS] Kill off xfs_statvfs.
authorChristoph Hellwig <hch@infradead.org>
Thu, 11 Oct 2007 08:09:40 +0000 (18:09 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 7 Feb 2008 05:53:27 +0000 (16:53 +1100)
commit4ca488eb45692520f745f96abc00ea4e268a87d4
tree525662017ca7cfdc45b9d62f01e045d1da999e4a
parentc43f408795c3210c9f5c925e4a49dbb93d41bb57
[XFS] Kill off xfs_statvfs.

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: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_linux.h
fs/xfs/linux-2.6/xfs_super.c
fs/xfs/xfs_vfsops.c
fs/xfs/xfs_vfsops.h