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
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Date: Tue Mar 25 17:44:23 AEDT 2008
Workarea: redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-hch
Inspected by: hch
Author: lachlan
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:30708a
fs/xfs/linux-2.6/xfs_super.c - 1.411 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_super.c.diff?r1=text&tr1=1.411&r2=text&tr2=1.410&f=h
- cleanup root inode handling in xfs_fs_fill_super
|