]> git.baikalelectronics.ru Git - kernel.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)
commit048edbaeb03f4a8c4a6c809538e52866b81496c9
tree4f1fb766af5a1a5110a5054894af1902ef02cb63
parenta2b6c2414641935ff485214fca24b5de78014c5a
[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