lkml.org 
[lkml]   [2006]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] Mount problem with the GFS2 code
On Thu, 30 Nov 2006 15:04:55 +0530
Srinivasa Ds <srinivasa@in.ibm.com> wrote:

> ==========================================================================
> On debugging further we found that problem is while reading the super
> block(gfs2_read_super) and comparing the magic number in it.
> When I replace the submit_bio() call(present in gfs2_read_super) with
> the sb_getblk() and ll_rw_block(), mount operation succeded.

umm, why on earth does gfs2_read_super() go direct-to-BIO?

Switching to sb_getblk()+ll_rw_blk() sounds like a preferable fix.

Even better would be switching to a bare sb_bread(). If sb->s_blocksize
isn't set up by then then either set it up or, if you must, use __bread().

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-30 09:37    [W:1.084 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site