On Fri, Jan 01, 2010 at 04:36:02AM +0900, Robert Smith wrote:
> Oh, I found it at line #2163 of fs/ocfs2/super.c.
>
> I imagine that something as simple as the following would work, but perhaps
> I'll wait for your feedback.
>
>
> /*
> if (ocfs2_clusters_to_blocks(osb->sb, le32_to_cpu(di->i_clusters) - 1)
> > (u32)~0UL) {
> mlog(ML_ERROR, "Volume might try to write to blocks beyond "
> "what jbd can address in 32 bits.\n");
> status = -EINVAL;
> goto bail;
> }
> */
That should work. The real solution will check based on the
journal flags. Be warned, there be tygers in here.
Joel
--
"But all my words come back to me
In shades of mediocrity.
Like emptiness in harmony
I need someone to comfort me."
Joel Becker
Principal Software Developer
Oracle
E-mail: [email protected]
Phone: (650) 506-8127
_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel