lkml.org 
[lkml]   [2011]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Oops in minixfs_statfs
On Thu, Aug 18, 2011 at 10:16:20PM +0100, Al Viro wrote:
> On Thu, Aug 18, 2011 at 05:13:21PM -0400, Josh Boyer wrote:
>
> > + if (blocks != blocks_needed)
> > + blocks = blocks_needed;
>
> ????

Er.. yeah. That's a left over from before I moved some verification
into fill_super, and then it got simplified to the point of being
utterly stupid. It's been a long day.

I guess I could either just reassign sbi->s_[iz]map_blocks right then
and truly ignore the extra block, or just always pass the calculated
blocks_needed to count_free. Which would you prefer?

josh


\
 
 \ /
  Last update: 2011-08-19 00:27    [W:0.047 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site