[Ocfs2-devel] [PATCH 5/7] ocfs2: De-magic the in-memory slot map.

Joel Becker Joel.Becker at oracle.com
Wed Jan 2 14:58:15 PST 2008


On Mon, Dec 31, 2007 at 05:09:29PM -0800, Mark Fasheh wrote:
> >  	bytes_needed = osb->max_slots * sizeof(__le16);
> > -	if (bytes_needed < i_size_read(inode)) {
> > +	if (bytes_needed > i_size_read(inode)) {
> 
> Why wasn't this just fixed in the previous patch?

	Probably due to testing flow.  It's moved now.

Joel

-- 

"If the human brain were so simple we could understand it, we would
 be so simple that we could not."
	- W. A. Clouston

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