xfs
[Top] [All Lists]

Re: A few XFS Mount code bugs in XFS 1.0.1

To: "Harrison Xing" <xinghy@xxxxxxxxxxx>
Subject: Re: A few XFS Mount code bugs in XFS 1.0.1
From: Steve Lord <lord@xxxxxxx>
Date: Mon, 29 Oct 2001 09:16:27 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Message from "Harrison Xing" <xinghy@hotmail.com> of "Mon, 29 Oct 2001 16:40:12 +0800." <F80Ii6YEFmsQSktLxHb00014af8@hotmail.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Thanks for these, I will be putting them into the tree today sometime.

Steve

> For XFS 1.0.1 release:
> In file fs/xfs/xfs_mount.c,  there seems to be some bugs with error 
> handling.
> 
> First,  around line 851 and 870,  the following code should be added
>       rvp->v_flag |= VPURGE;
> before calling
>       vn_purge(rvp, &vmap);
> 
> Second, the exit of error2 should add some code to free the log structure. 
> eg.
>       xfs_log_unmount_dealloc(mp)
> for some error cases after the log structure is allocated.
> 
> Third, if it exits from line 840, ( "fail to read root inode") , the next 
> mount
> will Oops.  I've looked at the code but didn't find any obvious errors, 
> maybe
> someone can check it for more details.  Probably there are some problems 
> with xfs_iget at error handling.
> 
> Best Regards,
>   Harrison Xing
> 
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



<Prev in Thread] Current Thread [Next in Thread>