Subject : Problem mounting ext2 using ext3? Submitter : Geert Uytterhoeven <geert@linux-m68k.org> Date : 2008-05-05 17:12 References : http://www.ussg.iu.edu/hypermail/linux/kernel/0805.0/2281.html Handled-By : Theodore Tso <tytso@mit.edu> Handled-By : Jan Kara <jack@suse.cz> Patch : http://marc.info/?l=linux-kernel&m=121006820018050&w=2 This entry is being used for tracking a regression from 2.6.25. Please don't close it until the problem is fixed in the mainline.
It's technically a bug with the quota subsystem, and it will affect any failed mount where the filesystem-specific get_sb() function returns an error. So for example, I suspect that an explicit "mount -t xfs /dev/mapper/my_ext3_filesstem" will also result in the same oops, because xfs's get_sb() function will return a failure, and then when fs/super.c calls deactivate_super(), which calls DQUOT_OFF(), the same failure will happen.
I am also affected by this, trying the patch now.
the patch also fixes things for me.
Linus has merged the fix so we can close the bug (hmm, I don't seem to be able to do this - Theodore, can you do that? Thanks).
Closing, but can you please provide the fixing commit hash?
The commit id is 9377abd026bf9bde7db90dac09170034bf6d1cbf