xfs
[Top] [All Lists]

2.4.9 mount error handling problem

To: viro@xxxxxxxxxxxx
Subject: 2.4.9 mount error handling problem
From: Andi Kleen <ak@xxxxxx>
Date: Sun, 26 Aug 2001 12:33:53 +0200
Cc: linux-xfs@xxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi,

I just tripped over a bug with 2.4.9+XFS, which I believe is a generic
problem.  For some unrelated reason the XFS ->read_super failed. After
that every df caused an kernel oops in super.c/get_filesystem_info. 

                        MANGLE(tmp->mnt_sb->s_type->name);

In this ->s_type was NULL. The error handling path of read_super sets
s_type to NULL, but the super block was still in the list of some mount 
with that zero s_type.
I unfortunately don't have time to track the exact cause down now, but I guess
it should be debuggable with this information.

-Andi


-- 
Life would be so much easier if we could just look at the source code.


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