[Ocfs2-devel] [PATCH] Set return value to -EINVAL if superblock probe failed
    Joel Becker 
    Joel.Becker at oracle.com
       
    Wed Oct 28 23:03:02 PDT 2009
    
    
  
On Mon, Oct 12, 2009 at 11:16:44AM +0200, Laszlo Attila Toth wrote:
> In case of non-modular kernels the root filesystem is mounted by trying
> several filesystems. If ocfs2 is tried before the actual filesystem type,
> such as squashfs, the mount is failed because ocfs2_fill_super's return
> value was -EAGAIN and normally it should return with -EINVAL, which means
> the filesystem is non-ocfs2.
	ocfs2_sb_probe() shouldn't be returning -EAGAIN in the first
place.  I've done a different patch to the same effect, and it is now in
the fixes branch of ocfs2.git.
Joel
-- 
"What does it say about a society's priorities when the time you
 spend in meetings on Monday is greater than the total number of
 hours you spent sleeping over the weekend?"
	- Nat Friedman
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
    
    
More information about the Ocfs2-devel
mailing list