]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[XFS] cleanup root inode handling in xfs_fs_fill_super
authorChristoph Hellwig <hch@infradead.org>
Thu, 27 Mar 2008 07:00:54 +0000 (18:00 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:42:36 +0000 (11:42 +1000)
commitf3dcc13f6fa20af1171eac7a537a4b89b1a84849
tree4f1fb766af5a1a5110a5054894af1902ef02cb63
parent59a33f9f776b051018ec98af95bd9fe8ba9d0f3e
[XFS] cleanup root inode handling in xfs_fs_fill_super

- rename rootvp to root for clarify
- remove useless vn_to_inode call
- check is_bad_inode before calling d_alloc_root
- use iput instead of VN_RELE in the error case

SGI-PV: 976035
SGI-Modid: xfs-linux-melb:xfs-kern:30708a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_super.c